TypedReference.SetTypedReference(TypedReference, Object) 方法

定义

重要

此 API 不符合 CLS。

将指定值转换为 TypedReferenceConverts 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);
static member SetTypedReference : TypedReference * obj -> unit
Public Shared Sub SetTypedReference (target As TypedReference, value As Object)

参数

target
TypedReference

转换的目标。The target of the conversion.

value
Object

要转换的值。The value to be converted.

属性

例外

在所有情况下。In all cases.

注解

此方法始终引发 NotSupportedExceptionThis method always throws NotSupportedException.

适用于