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

 

Converts a value to the given Type.

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

public:
virtual Object^ Convert(
	Object^ value,
	Type^ type
) sealed

Parameters

value
Type: System::Object^

The object to convert.

type
Type: System::Type^

The Type into which value is converted.

Return Value

Type: System::Object^

The converted value or null if the type parameter is null.

Exception Condition
ArgumentNullException

The value parameter is null.

.NET Framework
Available since 1.1
Return to top
Show: