Cast

Cast(object, Type, bool)

public static object Cast(object obj, Type type, bool ignoreThrowException) ;

Description

Cast the object.

Parameters

Parameter Name Description
obj The object to cast
type Casting type
ignoreThrowException Flag to ignore exceptions

Returns

Casted value