PropertyAttributes

PropertyAttributesCF 1.0, ECMA 1.0, serializable, flag

System.Reflection (mscorlib.dll)enum

Specifies the attributes that can be placed on properties. The important ones that you will encounter are None and HasDefault, which specify either the absence of attributes or that there is a default.

public enum PropertyAttributes {
   None = 0x00000000,
   SpecialName = 0x00000200,
   RTSpecialName = 0x00000400,
   HasDefault = 0x00001000,
   Reserved2 = 0x00002000,
   Reserved3 = 0x00004000,
   Reserved4 = 0x00008000,
   ReservedMask = 0x0000F400
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) PropertyAttributes

Returned By

PropertyInfo.Attributes

Passed To

System.Reflection.Emit.TypeBuilder.DefineProperty( )



    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System