MethodImplAttribute Konstruktorok
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Inicializálja a MethodImplAttribute osztály új példányát.
Túlterhelések
| Name | Description |
|---|---|
| MethodImplAttribute() |
Inicializálja a MethodImplAttribute osztály új példányát. |
| MethodImplAttribute(Int16) |
Inicializálja az osztály új példányát MethodImplAttribute a megadott MethodImplOptions értékkel. |
| MethodImplAttribute(MethodImplOptions) |
Inicializálja az osztály új példányát MethodImplAttribute a megadott MethodImplOptions értékkel. |
MethodImplAttribute()
- Forrás:
- MethodImplAttribute.cs
- Forrás:
- MethodImplAttribute.cs
- Forrás:
- MethodImplAttribute.cs
- Forrás:
- MethodImplAttribute.cs
- Forrás:
- MethodImplAttribute.cs
Inicializálja a MethodImplAttribute osztály új példányát.
public:
MethodImplAttribute();
public MethodImplAttribute();
Public Sub New ()
A következőre érvényes:
MethodImplAttribute(Int16)
- Forrás:
- MethodImplAttribute.cs
- Forrás:
- MethodImplAttribute.cs
- Forrás:
- MethodImplAttribute.cs
- Forrás:
- MethodImplAttribute.cs
- Forrás:
- MethodImplAttribute.cs
Inicializálja az osztály új példányát MethodImplAttribute a megadott MethodImplOptions értékkel.
public:
MethodImplAttribute(short value);
public MethodImplAttribute(short value);
new System.Runtime.CompilerServices.MethodImplAttribute : int16 -> System.Runtime.CompilerServices.MethodImplAttribute
Public Sub New (value As Short)
Paraméterek
- value
- Int16
A kívánt MethodImplOptions értéket képviselő bitmaszk, amely az attribútummal rendelkező metódus tulajdonságait határozza meg.
A következőre érvényes:
MethodImplAttribute(MethodImplOptions)
- Forrás:
- MethodImplAttribute.cs
- Forrás:
- MethodImplAttribute.cs
- Forrás:
- MethodImplAttribute.cs
- Forrás:
- MethodImplAttribute.cs
- Forrás:
- MethodImplAttribute.cs
Inicializálja az osztály új példányát MethodImplAttribute a megadott MethodImplOptions értékkel.
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)
Paraméterek
- methodImplOptions
- MethodImplOptions
Az MethodImplOptions attribútumként megadott metódus tulajdonságait meghatározó érték.
Megjegyzések
Ez a konstruktor beállítja a CorMethodImpl metaadattábla bitmezőit. Ezeknek a jelzőknek az értéke futtatáskor lekérhető a MethodInfo.GetMethodImplementationFlags metódus meghívásával ConstructorInfo.GetMethodImplementationFlags .