Binder.InvokeConstructor Methode

Definitie

Initialiseert een nieuwe CSharp-aanroepconstructorbinding.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

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

Parameters

flags
CSharpBinderFlags

De vlaggen waarmee de binder moet worden geïnitialiseerd.

context
Type

Hiermee Type wordt aangegeven waar deze bewerking wordt gebruikt.

argumentInfo
IEnumerable<CSharpArgumentInfo>

De reeks CSharpArgumentInfo exemplaren voor de argumenten voor deze bewerking.

Retouren

Een nieuwe CSharp invoke constructor binder.

Van toepassing op