Name
PropertyAttributes
Synopsis
These attributes 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()
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.