IFormatterConverter::Convert Method (Object^, TypeCode)

 

Converts a value to the given TypeCode.

Namespace:   System.Runtime.Serialization
Assembly:  mscorlib (in mscorlib.dll)

Object^ Convert(
	Object^ value,
	TypeCode typeCode
)

Parameters

value
Type: System::Object^

The object to be converted.

typeCode
Type: System::TypeCode

The TypeCode into which value is to be converted.

Return Value

Type: System::Object^

The converted value.

.NET Framework
Available since 1.1
Return to top
Show: