Mono Class Library: System.TypedReference Overview | Members

System.TypedReference.SetTypedReference Method

Converts the specified value to a TypedReference.

[System.CLSCompliant(false)]
public static void SetTypedReference (TypedReference target, object value)

Parameters

target
The target of the conversion.
value
The value to be converted.

Exceptions

TypeReason
ArgumentNullExceptionvalue is null.
InvalidCastExceptionThe requested conversion is not possible.

Remarks

This method converts value to target.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0