MethodImplAttribute Class
Specifies the details of how a method is implemented.
For a list of all members of this type, see MethodImplAttribute Members.
System.Object
System.Attribute
System.Runtime.CompilerServices.MethodImplAttribute
[Visual Basic] <AttributeUsage(AttributeTargets.Constructor Or _ AttributeTargets.Method)> <Serializable> NotInheritable Public Class MethodImplAttribute Inherits Attribute [C#] [AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method)] [Serializable] public sealed class MethodImplAttribute : Attribute [C++] [AttributeUsage(AttributeTargets::Constructor | AttributeTargets::Method)] [Serializable] public __gc __sealed class MethodImplAttribute : public Attribute [JScript] public AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method) Serializable class MethodImplAttribute extends Attribute
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
You can apply this attribute to methods or constructors.
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
MethodImplAttribute Members | System.Runtime.CompilerServices Namespace