Gets or sets (protected) the bandle to the (primary) GL resource encapsulated by this object.

Namespace: HighGL
Assembly: HighGL (in HighGL.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public int Handle { get; protected set; }
Visual Basic
Public Property Handle As Integer
	Get
	Protected Set
Visual C++
public:
property int Handle {
	int get ();
	protected: void set (int value);
}

Exceptions

ExceptionCondition
System..::..ObjectDisposedExceptionIf this object was disposed.
System..::..InvalidOperationExceptionWhen client tries to set the handle more than one to a value other than 0.

See Also