ConstructorBuilder.SetImplementationFlags Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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
- attributes
Type: System.Reflection.MethodImplAttributes
The method implementation flags.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The containing type has been created using CreateType. |
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.