com.onlineobject.objectnet Namespace

NetworkElement..::..GetDeviceBehavior<(Of <(<'T>)>)> Method

Retrieves a device behavior of a specific type if it is registered.

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

Syntax


public T GetDeviceBehavior<T>()

Type Parameters

T
The type of the behavior to retrieve.

Return Value

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