ConversionToValueOfType(Object, Type, Boolean) Method
Return the caller's value, casted to the specified destination value.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static Object ToValueOfType(
Object value,
Type type,
bool allowNull
)
Public Shared Function ToValueOfType (
value As Object,
type As Type,
allowNull As Boolean
) As Object
No code example is currently available or this language may not be supported.
- value Object
-
The Value to Convert.
- type Type
-
The Destination Type of the Value.
- allowNull Boolean
-
Value indicating whether null return value is allowed.
Object
Caller's Value, casted to the specified Type.