com.onlineobject.objectnet Namespace

NetworkManager..::..GetObjectOnClient<(Of <(<'T>)>)> Method (Int32)

Retrieves a network object on the client side by its network ID.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public T GetObjectOnClient<T>(

	int networkId

)

where T : INetworkElement, INetworkElement

Type Parameters

T
The type of the network element to retrieve.

Parameters

networkId
Type: Int32
The network ID of the object to retrieve.

Return Value

The network object of type T, or default if not found.