com.onlineobject.objectnet Namespace

IDataStream..::..RegisterStream<(Of <(<'T>)>)> Method

Registers a stream with the data stream for a specific data type.

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

Syntax


void RegisterStream<T>(

	Type dataType,

	T stream

)

where T : IData

Type Parameters

T
The type of the stream to register.

Parameters

dataType
Type: Type
The data type associated with the stream.
stream
Type: T
The stream to register.