MethodImplAttribute Konstruktory

Definice

Inicializuje novou instanci MethodImplAttribute třídy.

Přetížení

Name Description
MethodImplAttribute()

Inicializuje novou instanci MethodImplAttribute třídy.

MethodImplAttribute(Int16)

Inicializuje novou instanci MethodImplAttribute třídy se zadanou MethodImplOptions hodnotou.

MethodImplAttribute(MethodImplOptions)

Inicializuje novou instanci MethodImplAttribute třídy se zadanou MethodImplOptions hodnotou.

MethodImplAttribute()

Zdroj:
MethodImplAttribute.cs
Zdroj:
MethodImplAttribute.cs
Zdroj:
MethodImplAttribute.cs
Zdroj:
MethodImplAttribute.cs
Zdroj:
MethodImplAttribute.cs

Inicializuje novou instanci MethodImplAttribute třídy.

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

Platí pro

MethodImplAttribute(Int16)

Zdroj:
MethodImplAttribute.cs
Zdroj:
MethodImplAttribute.cs
Zdroj:
MethodImplAttribute.cs
Zdroj:
MethodImplAttribute.cs
Zdroj:
MethodImplAttribute.cs

Inicializuje novou instanci MethodImplAttribute třídy se zadanou MethodImplOptions hodnotou.

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

Bitová maska představující požadovanou MethodImplOptions hodnotu, která určuje vlastnosti atributové metody.

Platí pro

MethodImplAttribute(MethodImplOptions)

Zdroj:
MethodImplAttribute.cs
Zdroj:
MethodImplAttribute.cs
Zdroj:
MethodImplAttribute.cs
Zdroj:
MethodImplAttribute.cs
Zdroj:
MethodImplAttribute.cs

Inicializuje novou instanci MethodImplAttribute třídy se zadanou MethodImplOptions hodnotou.

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

Hodnota MethodImplOptions určující vlastnosti atributu metody.

Poznámky

Tento konstruktor nastaví bitová CorMethodImpl pole v tabulce metadat. Hodnotu těchto příznaků lze načíst za běhu voláním nebo MethodInfo.GetMethodImplementationFlags metodouConstructorInfo.GetMethodImplementationFlags.

Viz také

Platí pro