ConstructorBuilder.SetImplementationFlags Method

Sets the method implementation flags for this constructor.

Namespace:  System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Sub SetImplementationFlags ( _
    attributes As MethodImplAttributes _
)
public void SetImplementationFlags(
    MethodImplAttributes attributes
)

Parameters

Exceptions

Exception Condition
InvalidOperationException

The containing type has been created using CreateType.

Remarks

For an example, see the code provided for the MethodBuilder.SetImplementationFlags method.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.