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);
[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.

適用於