MethodImplAttribute Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy MethodImplAttribute.

Przeciążenia

MethodImplAttribute()

Inicjuje nowe wystąpienie klasy MethodImplAttribute.

MethodImplAttribute(Int16)

Inicjuje MethodImplAttribute nowe wystąpienie klasy z określoną MethodImplOptions wartością.

MethodImplAttribute(MethodImplOptions)

Inicjuje MethodImplAttribute nowe wystąpienie klasy z określoną MethodImplOptions wartością.

MethodImplAttribute()

Źródło:
MethodImplAttribute.cs
Źródło:
MethodImplAttribute.cs
Źródło:
MethodImplAttribute.cs

Inicjuje nowe wystąpienie klasy MethodImplAttribute.

public:
 MethodImplAttribute();
public MethodImplAttribute ();
Public Sub New ()

Dotyczy

MethodImplAttribute(Int16)

Źródło:
MethodImplAttribute.cs
Źródło:
MethodImplAttribute.cs
Źródło:
MethodImplAttribute.cs

Inicjuje MethodImplAttribute nowe wystąpienie klasy z określoną MethodImplOptions wartością.

public:
 MethodImplAttribute(short value);
public MethodImplAttribute (short value);
new System.Runtime.CompilerServices.MethodImplAttribute : int16 -> System.Runtime.CompilerServices.MethodImplAttribute
Public Sub New (value As Short)

Parametry

value
Int16

Maska bitów reprezentująca żądaną MethodImplOptions wartość, która określa właściwości metody przypisanej.

Dotyczy

MethodImplAttribute(MethodImplOptions)

Źródło:
MethodImplAttribute.cs
Źródło:
MethodImplAttribute.cs
Źródło:
MethodImplAttribute.cs

Inicjuje MethodImplAttribute nowe wystąpienie klasy z określoną MethodImplOptions wartością.

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
Public Sub New (methodImplOptions As MethodImplOptions)

Parametry

methodImplOptions
MethodImplOptions

MethodImplOptions Wartość określająca właściwości metody przypisanej.

Uwagi

Ten konstruktor ustawia pola bitowe CorMethodImpl w tabeli metadanych. Wartość tych flag można pobrać w czasie wykonywania, wywołując metodę MethodInfo.GetMethodImplementationFlags or ConstructorInfo.GetMethodImplementationFlags .

Zobacz też

Dotyczy