Condividi tramite


Binder.Convert(CSharpBinderFlags, Type, Type) Metodo

Definizione

Inizializza un nuovo gestore di associazione delle conversioni di CSharp.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

public:
 static System::Runtime::CompilerServices::CallSiteBinder ^ Convert(Microsoft::CSharp::RuntimeBinder::CSharpBinderFlags flags, Type ^ type, Type ^ context);
public static System.Runtime.CompilerServices.CallSiteBinder Convert(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, Type type, Type context);
public static System.Runtime.CompilerServices.CallSiteBinder Convert(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, Type type, Type? context);
static member Convert : Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags * Type * Type -> System.Runtime.CompilerServices.CallSiteBinder
Public Shared Function Convert (flags As CSharpBinderFlags, type As Type, context As Type) As CallSiteBinder

Parametri

flags
CSharpBinderFlags

Flag con cui inizializzare il gestore di associazione.

type
Type

Tipo in cui eseguire la conversione.

context
Type

Oggetto Type che indica il contesto in cui viene utilizzata l'operazione.

Restituisce

Nuovo gestore di associazione delle conversioni di CSharp.

Si applica a