public enum MethodAttributes
Object
ValueType
Enum
MethodAttributes
mscorlib
Reflection
Specifies flags for method attributes.
This enumeration is used by the System.Reflection.MethodBase.Attributes property.
System.Reflection Namespace
MethodAttributes Fields
MethodAttributes.Abstract Field
MethodAttributes.Assembly Field
MethodAttributes.FamANDAssem Field
MethodAttributes.FamORAssem Field
MethodAttributes.Family Field
MethodAttributes.Final Field
MethodAttributes.HideBySig Field
MethodAttributes.MemberAccessMask Field
MethodAttributes.NewSlot Field
MethodAttributes.PinvokeImpl Field
MethodAttributes.Private Field
MethodAttributes.PrivateScope Field
MethodAttributes.Public Field
MethodAttributes.ReuseSlot Field
MethodAttributes.SpecialName Field
MethodAttributes.Static Field
MethodAttributes.Virtual Field
MethodAttributes.VtableLayoutMask Field
MethodAttributes.value__ Field
Abstract = 1024;
Specifies that the type that declares the method does not provide an implementation.
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
Assembly = 3;
Specifies that the method is accessible throughout the assembly.
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
FamANDAssem = 2;
Specifies that the method is accessible only to members of the type that defines the method and its subclasses in the assembly that contains the defining type.
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
FamORAssem = 5;
Specifies that the method is accessible to members of the type that defines the method and its subclasses, and throughout the assembly.
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
Family = 4;
Specifies that the method is accessible only to the members of the type that defines it and its subclasses.
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
Final = 32;
Specifies that the method cannot be overridden.
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
HideBySig = 128;
Specifies that the method is hidden by name and signature.[Note: A method that is not hidden by name and signature is hidden by name only. ]
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
MemberAccessMask = 7;
Specifies a bit-mask that, when combined with the attributes of a method using the logical AND operator, yields the bits that specify the accessibility of a method.
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
NewSlot = 256;
Specifies that the method always gets a new slot in the v-table.
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
PinvokeImpl = 8192;
Specifies that the method implementation is forwarded through PInvoke (Platform Invocation Services).
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
Private = 1;
Specifies that the method is accessible only to members in the defining type.
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
PrivateScope = 0;
Specifies that the member cannot be referenced.
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
Public = 6;
Specifies that the method is accessible to members of any type.
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
ReuseSlot = 0;
Specifies that the method will reuse an existing slot in the v-table.[Note: This is the default behavior. ]
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
SpecialName = 2048;
Specifies that the method is treated in a special way by some tools.[Note: For more information on special names, see Partition I of the CLI Specification.
For more information on
SpecialName
in metadata, see Partition II of the CLI Specification.]
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
Static = 16;
Specifies that the method is invoked on the defining type.[Note: For method invocation, the target of a static method is a Type object that represents the type where the method is defined.]
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
Virtual = 64;
Specifies that the method is virtual.
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
VtableLayoutMask = 256;
Specifies a bit-mask that, when combined with the attributes of a method using the logical AND operator, yields the v-table attributes of a method.
System.Reflection.MethodAttributes Enum, System.Reflection Namespace
value__;
System.Reflection.MethodAttributes Enum, System.Reflection Namespace