IFormatterConverter::Convert Method (Object^, Type^)

 

Converts a value to the given Type.

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

Object^ Convert(
	Object^ value,
	Type^ type
)

Parameters

value
Type: System::Object^

The object to be converted.

type
Type: System::Type^

The Type 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: