EncodingLibraryGetEncodingMethodT(Guid) Method

Gets the single encoding method if it exists in the database.

Definition

Namespace: SnapDB.Snap.Encoding
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public IndividualEncodingBase<T> GetEncodingMethod<T>(
	Guid encodingMethod
)
where T : new(), SnapTypeBase<T>

Parameters

encodingMethod  Guid
The encoding method identifier.

Type Parameters

T
The type parameter specifying the data type.

Return Value

IndividualEncodingBaseT
An instance of the IndividualEncodingBaseT representing the encoding method.

Exceptions

ExceptionThrown if the type is not registered.

See Also