MethodImplAttribute Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av MethodImplAttribute klassen.
Överlagringar
| Name | Description |
|---|---|
| MethodImplAttribute() |
Initierar en ny instans av MethodImplAttribute klassen. |
| MethodImplAttribute(Int16) |
Initierar en ny instans av MethodImplAttribute klassen med det angivna MethodImplOptions värdet. |
| MethodImplAttribute(MethodImplOptions) |
Initierar en ny instans av MethodImplAttribute klassen med det angivna MethodImplOptions värdet. |
MethodImplAttribute()
- Källa:
- MethodImplAttribute.cs
- Källa:
- MethodImplAttribute.cs
- Källa:
- MethodImplAttribute.cs
- Källa:
- MethodImplAttribute.cs
- Källa:
- MethodImplAttribute.cs
Initierar en ny instans av MethodImplAttribute klassen.
public:
MethodImplAttribute();
public MethodImplAttribute();
Public Sub New ()
Gäller för
MethodImplAttribute(Int16)
- Källa:
- MethodImplAttribute.cs
- Källa:
- MethodImplAttribute.cs
- Källa:
- MethodImplAttribute.cs
- Källa:
- MethodImplAttribute.cs
- Källa:
- MethodImplAttribute.cs
Initierar en ny instans av MethodImplAttribute klassen med det angivna MethodImplOptions värdet.
public:
MethodImplAttribute(short value);
public MethodImplAttribute(short value);
new System.Runtime.CompilerServices.MethodImplAttribute : int16 -> System.Runtime.CompilerServices.MethodImplAttribute
Public Sub New (value As Short)
Parametrar
- value
- Int16
En bitmask som representerar önskat MethodImplOptions värde, som anger egenskaperna för den attributerade metoden.
Gäller för
MethodImplAttribute(MethodImplOptions)
- Källa:
- MethodImplAttribute.cs
- Källa:
- MethodImplAttribute.cs
- Källa:
- MethodImplAttribute.cs
- Källa:
- MethodImplAttribute.cs
- Källa:
- MethodImplAttribute.cs
Initierar en ny instans av MethodImplAttribute klassen med det angivna MethodImplOptions värdet.
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)
Parametrar
- methodImplOptions
- MethodImplOptions
Ett MethodImplOptions värde som anger egenskaperna för den tillskrivna metoden.
Kommentarer
Den här konstruktorn anger CorMethodImpl bitfälten i metadatatabellen. Värdet för dessa flaggor kan hämtas vid körning genom att anropa MethodInfo.GetMethodImplementationFlags metoden eller ConstructorInfo.GetMethodImplementationFlags .