MethodImplAttribute Constructor (MethodImplOptions)
Silverlight
Updated: October 2010
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the MethodImplAttribute class with the specified MethodImplOptions value.
Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)
Parameters
- methodImplOptions
- Type: System.Runtime.CompilerServices.MethodImplOptions
A MethodImplOptions value specifying properties of the attributed method.
This constructor sets the CorMethodImpl bit fields in the metadata table. The value of these flags can be retrieved at run time by calling the MethodInfo.GetMethodImplementationFlags or ConstructorInfo.GetMethodImplementationFlags method.
Silverlight for Windows Phone
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.