Aerospike LINDPad Driver

Helpers..::..CastToNativeTypeInvalidCast Method

Wrapper around [T:Aerospike.Database.LINQPadDriver.Helpers.CastToNativeType(System.String,System.Type,System.String,System.Object)] to trap exceptions.

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

Syntax


public static Object CastToNativeTypeInvalidCast(
	string fldName,
	Type fldType,
	string binName,
	Object binValue,
	bool ignoreException
)

Parameters

fldName
Type: String
fldType
Type: Type
binName
Type: String
binValue
Type: Object
ignoreException
Type: Boolean

Exceptions


ExceptionCondition
InvalidCastException