Aerospike LINDPad Driver

LPDHelpers..::..Cast<(Of <(<'T>)>)> Method (Bin)

Casts a Bin's value into T.

Namespace:  Aerospike.Client
Assembly:  Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)

Syntax


public static T Cast<T>(
	Bin bin
)

Type Parameters

T
Data type that the Value will try to be cast too.

Parameters

bin
Type: Bin
The Bin

Return Value

The value casted to T or an exception.

Exceptions


ExceptionCondition
InvalidCastException If the value cannot be casted.