Binder.Convert(CSharpBinderFlags, Type, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new CSharp convert binder.
This API supports the product infrastructure and is not intended to be used directly from your code.
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
Parameters
- flags
- CSharpBinderFlags
The flags with which to initialize the binder.
- type
- Type
The type to convert to.
Returns
A new CSharp convert binder.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.