Export (0) Print
Expand All

MethodImplOptions Enumeration

Defines the details of how a method is implemented.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
<Flags>
<Serializable>
Public Enum MethodImplOptions
[C#]
[Flags]
[Serializable]
public enum MethodImplOptions
[C++]
[Flags]
[Serializable]
__value public enum MethodImplOptions
[JScript]
public
   Flags
 Serializable
enum MethodImplOptions

Remarks

Used with MethodImplAttribute.

Specify multiple MethodImplOptions values using the bit-wise OR operator.

Members

Member name Description Value
ForwardRef

Supported by the .NET Compact Framework.

Specifies that the method is declared, but its implementation is provided elsewhere. 16
InternalCall

Supported by the .NET Compact Framework.

Specifies an internal call. An internal call is a call to a method implemented within the common language runtime itself. 4096
NoInlining

Supported by the .NET Compact Framework.

Specifies that the method can not be inlined. 8
PreserveSig

Supported by the .NET Compact Framework.

Specifies that the method signature is exported exactly as declared. 128
Synchronized

Supported by the .NET Compact Framework.

Specifies the method can be executed by only one thread at a time. 32
Unmanaged

Supported by the .NET Compact Framework.

Specifies that the method is implemented in unmanaged code. 4

Requirements

Namespace: System.Runtime.CompilerServices

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

System.Runtime.CompilerServices Namespace

Show:
© 2014 Microsoft