LateBinding.LateSetComplex 方法

定义

使用指定的参数设置对象的成员的后期绑定值。

此 API 支持产品基础结构,不能在代码中直接使用。

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

参数

o
Object

要为其设置成员值的对象。

objType
Type

对象的类型。

name
String

要设置的成员名称。

args
Object[]

要传递给成员的 o一个或多个参数值的数组。

paramnames
String[]

一个数组,其中包含将数组中的 args 值传递给的参数的名称。

OptimisticSet
Boolean

True 如果找不到设置成员,则取消引发的异常。

RValueBase
Boolean

True o标识为后期绑定表达式的结果。

属性

注解

此类支持 Visual Basic 编译器,不打算直接从代码使用。

适用于