System.Reflection.TypeAttributes Enum

public enum TypeAttributes

Base Types

Object
  ValueType
    Enum
      TypeAttributes

Assembly

mscorlib

Library

Reflection

Summary

Specifies attributes of a type.

Description

This enumeration is used by the Type class.

Attributes

FlagsAttribute

See Also

System.Reflection Namespace

Members

TypeAttributes Fields

TypeAttributes.Abstract Field
TypeAttributes.AnsiClass Field
TypeAttributes.AutoClass Field
TypeAttributes.AutoLayout Field
TypeAttributes.BeforeFieldInit Field
TypeAttributes.Class Field
TypeAttributes.ClassSemanticsMask Field
TypeAttributes.CustomFormatClass Field
TypeAttributes.CustomStringFormatMask Field
TypeAttributes.ExplicitLayout Field
TypeAttributes.Interface Field
TypeAttributes.LayoutMask Field
TypeAttributes.NestedAssembly Field
TypeAttributes.NestedFamANDAssem Field
TypeAttributes.NestedFamORAssem Field
TypeAttributes.NestedFamily Field
TypeAttributes.NestedPrivate Field
TypeAttributes.NestedPublic Field
TypeAttributes.NotPublic Field
TypeAttributes.Public Field
TypeAttributes.Sealed Field
TypeAttributes.SequentialLayout Field
TypeAttributes.SpecialName Field
TypeAttributes.StringFormatMask Field
TypeAttributes.UnicodeClass Field
TypeAttributes.VisibilityMask Field
TypeAttributes.value__ Field


TypeAttributes.Abstract Field

Abstract = 0x80;

Summary

Specifies that the type is not implemented in the declaring type.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.AnsiClass Field

AnsiClass = 0x0;

Summary

Specifies that LPSTR is interpreted as ANSI.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.AutoClass Field

AutoClass = 0x20000;

Summary

Specifies that LPSTR is interpreted automatically.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.AutoLayout Field

AutoLayout = 0x0;

Summary

Specifies that fields of the type are automatically laid out by the system.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.BeforeFieldInit Field

BeforeFieldInit = 0x100000;

Summary

Specifies that calling static methods of the type does not force the system to initialize the type.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.Class Field

Class = 0x0;

Summary

Specifies that the type is a class.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.ClassSemanticsMask Field

ClassSemanticsMask = Interface;

Summary

Specifies a bitmask used to determine whether a type is a class or interface.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.CustomFormatClass Field

CustomFormatClass = 0x30000

Summary

Specifies that LPSTR is interpreted by some implementation-specific means, which includes the possibility of throwing a NotSupportedException.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.CustomStringFormatMask Field

CustomStringFormatMask = 0xC00000

Summary

.This mask is used to retrieve non-standard encoding information for System.Reflection.TypeAttributes.CustomFormatClass. The meaning of the values of these two bits is unspecified.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.ExplicitLayout Field

ExplicitLayout = 0x10;

Summary

Specifies that the layout of fields in the type is provided explicitly.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.Interface Field

Interface = 0x20;

Summary

Specifies that the type is an interface.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.LayoutMask Field

LayoutMask = SequentialLayout | ExplicitLayout;

Summary

Specifies a bitmask used to obtain layout information.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.NestedAssembly Field

NestedAssembly = Public | NestedFamily;

Summary

Specifies that the type is nested and is accessible only to members within its assembly.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.NestedFamANDAssem Field

NestedFamANDAssem = NestedPublic | NestedFamily;

Summary

Specifies that the type is nested and is accessible only to members of its family in its assembly.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.NestedFamORAssem Field

NestedFamORAssem = Public | NestedPublic | NestedFamily;

Summary

Specifies that the type is nested and is accessible only to members of its family and throughout its assembly.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.NestedFamily Field

NestedFamily = 0x4;

Summary

Specifies that the type is nested and is accessible only to members of its family.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.NestedPrivate Field

NestedPrivate = Public | NestedPublic;

Summary

Specifies that the type is nested with private visibility.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.NestedPublic Field

NestedPublic = 0x2;

Summary

Specifies that the type is nested with public visibility.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.NotPublic Field

NotPublic = 0x0;

Summary

Specifies that the type is not public.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.Public Field

Public = 0x1;

Summary

Specifies that the type has public visibility.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.Sealed Field

Sealed = 0x100;

Summary

Specifies that the type cannot be used to derive new types.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.SequentialLayout Field

SequentialLayout = 0x8;

Summary

Specifies that fields in the type are laid out sequentially.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.SpecialName Field

SpecialName = 0x400;

Summary

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.

]

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.StringFormatMask Field

StringFormatMask = UnicodeClass | AutoClass;

Summary

Specifies a bitmask used to obtain string format information.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.UnicodeClass Field

UnicodeClass = 0x10000;

Summary

Specifies that LPSTR is interpreted as Unicode.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.VisibilityMask Field

VisibilityMask = Public | NestedPublic | NestedFamily;

Summary

Specifies a bitmask used to obtain visibility information.

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace

TypeAttributes.value__ Field

value__;

See Also

System.Reflection.TypeAttributes Enum, System.Reflection Namespace