com.onlineobject.objectnet Namespace

NetworkElementBase..::..GetBehavior<(Of <(<'T>)>)> Method

Retrieves a behavior of a specific type from the network object.

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

Syntax


public T GetBehavior<T>()

where T : IEntity

Type Parameters

T
The type of the behavior entity to retrieve.

Return Value

The behavior of the specified type if found, otherwise default value of T.