TypedReference.SetTypedReference(TypedReference, Object) Method

Definition

Important

This API is not CLS-compliant.

Converts the specified value to a TypedReference. This method is not supported.

public:
 static void SetTypedReference(TypedReference target, System::Object ^ value);
public static void SetTypedReference (TypedReference target, object? value);
[System.CLSCompliant(false)]
public static void SetTypedReference (TypedReference target, object value);
[System.CLSCompliant(false)]
public static void SetTypedReference (TypedReference target, object? value);
static member SetTypedReference : TypedReference * obj -> unit
[<System.CLSCompliant(false)>]
static member SetTypedReference : TypedReference * obj -> unit
Public Shared Sub SetTypedReference (target As TypedReference, value As Object)

Parameters

target
TypedReference

The target of the conversion.

value
Object

The value to be converted.

Attributes

Exceptions

In all cases.

Remarks

This method always throws NotSupportedException.

Applies to