LateBinding.LateSet(Object, Type, String, Object[], String[]) 方法

定義

使用指定的參數設定物件成員的延遲界值。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 static void LateSet(System::Object ^ o, Type ^ objType, System::String ^ name, cli::array <System::Object ^> ^ args, cli::array <System::String ^> ^ paramnames);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Late binding is dynamic and cannot be statically analyzed. The referenced types and members may be trimmed")]
public static void LateSet(object? o, Type? objType, string name, object?[]? args, string?[]? paramnames);
public static void LateSet(object? o, Type? objType, string name, object?[]? args, string?[]? paramnames);
public static void LateSet(object o, Type objType, string name, object[] args, string[] paramnames);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Late binding is dynamic and cannot be statically analyzed. The referenced types and members may be trimmed")>]
static member LateSet : obj * Type * string * obj[] * string[] -> unit
static member LateSet : obj * Type * string * obj[] * string[] -> unit
Public Shared Sub LateSet (o As Object, objType As Type, name As String, args As Object(), paramnames As String())
Public Sub LateSet (o As Object, objType As Type, name As String, args As Object(), paramnames As String())

參數

o
Object

要設定成員值的物件。

objType
Type

物件的類型。

name
String

要設定成員名稱。

args
Object[]

一個由 或 參數值組成的陣列,傳遞給 的 o成員。

paramnames
String[]

一個陣列,包含陣列中值傳遞的參數 args 名稱。

屬性

備註

這門課支援 Visual Basic 編譯器,並非直接從你的程式碼中使用。

適用於