Mono Class Library: System.Reflection Namespace

System.Reflection.TypeAttributes Enumeration

Specifies attributes of a type.
[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
public enum TypeAttributes

Remarks

This enumeration is used by the Type class.

Members

Member NameDescription
AbstractSpecifies that the type is not implemented in the declaring type.
AnsiClassSpecifies that LPSTR is interpreted as ANSI.
AutoClassSpecifies that LPSTR is interpreted automatically.
AutoLayout Specifies that fields of the type are automatically laid out by the system.
BeforeFieldInit Specifies that calling static methods of the type does not force the system to initialize the type.
Class Specifies that the type is a class.
ClassSemanticsMaskSpecifies a bitmask used to determine whether a type is a class or interface.
CustomFormatClassSpecifies that LPSTR is interpreted by some implementation-specific means, which includes the possibility of throwing a NotSupportedException.
CustomFormatMaskDocumentation for this section has not yet been entered.
ExplicitLayout Specifies that the layout of fields in the type is provided explicitly.
HasSecurityDocumentation for this section has not yet been entered.
ImportDocumentation for this section has not yet been entered.
InterfaceSpecifies that the type is an interface.
LayoutMaskSpecifies a bitmask used to obtain layout information.
NestedAssembly Specifies that the type is nested and is accessible only to members within its assembly.
NestedFamANDAssem Specifies that the type is nested and is accessible only to members of its family in its assembly.
NestedFamily Specifies that the type is nested and is accessible only to members of its family.
NestedFamORAssem Specifies that the type is nested and is accessible only to members of its family and throughout its assembly.
NestedPrivate Specifies that the type is nested with private visibility.
NestedPublic Specifies that the type is nested with public visibility.
NotPublic Specifies that the type is not public.
Public Specifies that the type has public visibility.
ReservedMaskDocumentation for this section has not yet been entered.
RTSpecialNameDocumentation for this section has not yet been entered.
SealedSpecifies that the type cannot be used to derive new types.
SequentialLayout Specifies that fields in the type are laid out sequentially.
SerializableDocumentation for this section has not yet been entered.
SpecialName

Specifies that the type 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.

StringFormatMaskSpecifies a bitmask used to obtain string format information.
UnicodeClassSpecifies that LPSTR is interpreted as Unicode.
VisibilityMaskSpecifies a bitmask used to obtain visibility information.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0