Binder.InvokeConstructor Metódus

Definíció

Inicializál egy új CSharp-meghívási konstruktorkötőt.

Ez az API a termékinfrastruktúrát támogatja, és közvetlenül a kódból nem használható.

public:
 static System::Runtime::CompilerServices::CallSiteBinder ^ InvokeConstructor(Microsoft::CSharp::RuntimeBinder::CSharpBinderFlags flags, Type ^ context, System::Collections::Generic::IEnumerable<Microsoft::CSharp::RuntimeBinder::CSharpArgumentInfo ^> ^ argumentInfo);
public static System.Runtime.CompilerServices.CallSiteBinder InvokeConstructor(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, Type context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> argumentInfo);
static member InvokeConstructor : Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags * Type * seq<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> -> System.Runtime.CompilerServices.CallSiteBinder
Public Shared Function InvokeConstructor (flags As CSharpBinderFlags, context As Type, argumentInfo As IEnumerable(Of CSharpArgumentInfo)) As CallSiteBinder

Paraméterek

flags
CSharpBinderFlags

Azok a jelzők, amelyekkel inicializálni szeretné a kötést.

context
Type

Ez Type jelzi, hogy hol használja a műveletet.

argumentInfo
IEnumerable<CSharpArgumentInfo>

A művelet argumentumainak példányainak sorrendje CSharpArgumentInfo .

Válaszok

Egy új CSharp meghívja a konstruktor-kötést.

A következőre érvényes: