MethodImplAttribute Konstruktoren
Definition
Initialisiert eine neue Instanz der MethodImplAttribute-Klasse.Initializes a new instance of the MethodImplAttribute class.
Überlädt
MethodImplAttribute() |
Initialisiert eine neue Instanz der MethodImplAttribute-Klasse.Initializes a new instance of the MethodImplAttribute class. |
MethodImplAttribute(Int16) |
Initialisiert eine neue Instanz der MethodImplAttribute-Klasse mit dem angegebenen MethodImplOptions-Wert.Initializes a new instance of the MethodImplAttribute class with the specified MethodImplOptions value. |
MethodImplAttribute(MethodImplOptions) |
Initialisiert eine neue Instanz der MethodImplAttribute-Klasse mit dem angegebenen MethodImplOptions-Wert.Initializes a new instance of the MethodImplAttribute class with the specified MethodImplOptions value. |
MethodImplAttribute()
Initialisiert eine neue Instanz der MethodImplAttribute-Klasse.Initializes a new instance of the MethodImplAttribute class.
public:
MethodImplAttribute();
public MethodImplAttribute ();
Public Sub New ()
MethodImplAttribute(Int16)
Initialisiert eine neue Instanz der MethodImplAttribute-Klasse mit dem angegebenen MethodImplOptions-Wert.Initializes a new instance of the MethodImplAttribute class with the specified MethodImplOptions value.
public:
MethodImplAttribute(short value);
public MethodImplAttribute (short value);
new System.Runtime.CompilerServices.MethodImplAttribute : int16 -> System.Runtime.CompilerServices.MethodImplAttribute
Public Sub New (value As Short)
Parameter
- value
- Int16
Eine Bitmaske, die den gewünschten MethodImplOptions-Wert darstellt, der die Eigenschaften der attributierten Methode angibt.A bitmask representing the desired MethodImplOptions value which specifies properties of the attributed method.
MethodImplAttribute(MethodImplOptions)
Initialisiert eine neue Instanz der MethodImplAttribute-Klasse mit dem angegebenen MethodImplOptions-Wert.Initializes a new instance of the MethodImplAttribute class with the specified MethodImplOptions value.
public:
MethodImplAttribute(System::Runtime::CompilerServices::MethodImplOptions methodImplOptions);
public MethodImplAttribute (System.Runtime.CompilerServices.MethodImplOptions methodImplOptions);
new System.Runtime.CompilerServices.MethodImplAttribute : System.Runtime.CompilerServices.MethodImplOptions -> System.Runtime.CompilerServices.MethodImplAttribute
Parameter
- methodImplOptions
- MethodImplOptions
Ein MethodImplOptions-Wert, der die Eigenschaften der attributierten Methode angibt.A MethodImplOptions value specifying properties of the attributed method.
Hinweise
Dieser Konstruktor legt die CorMethodImpl
Bitfelder in der Metadatentabelle fest.This constructor sets the CorMethodImpl
bit fields in the metadata table. Der Wert dieser Flags kann zur Laufzeit durch Aufrufen der MethodInfo.GetMethodImplementationFlags
-Methode oder ConstructorInfo.GetMethodImplementationFlags
der-Methode abgerufen werden.The value of these flags can be retrieved at run time by calling the MethodInfo.GetMethodImplementationFlags
or ConstructorInfo.GetMethodImplementationFlags
method.