NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

GCHandle.Target

Allows getting/ setting the Object this handle represents.

[Visual Basic]
Public Property Target As Object
[C#]
public object Target {get; set;}
[C++]
public: __property Object* get_Target();
public: __property void set_Target(Object*);
[JScript]
public function get Target() : Object;
public function set Target(Object);

Exceptions

Exception Type Condition
InvalidOperationException will be thrown if the handle was never initialized or if it was freed

See Also

GCHandle Structure | GCHandle Members | System.Runtime.InteropServices Namespace