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!

ObjectManager.GetObject

Returns the object with ID objectID, or a null reference (in Visual Basic Nothing) if such an object is not found.

[Visual Basic]
Overridable Public Function GetObject( _
   ByVal objectID As Long _
) As Object
[C#]
public virtual object GetObject(
   long objectID
);
[C++]
public: virtual Object* GetObject(
   __int64 objectID
);
[JScript]
public function GetObject(
   objectID : long
) : Object;

Parameters

objectID
[To be supplied.]

Return Value

The object with ID objectID if it has been previously remembered, via a call to RegisterObject, or a null reference (Nothing) if no such object has been registered.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException The objectID parameter is less than or equal to 0.

See Also

ObjectManager Class | ObjectManager Members | System.Runtime.Serialization Namespace