Name
PropertyAttributes
Synopsis
This enumeration can be used when creating a custom provider to
indicate whether a specific property is required or supported, and
how it should be set. You can use bitwise combinations of the values
in this enumeration. Optional indicates that the
user doesn’t need to specify a value for this
property before the data source is initialized, while
Required indicates that it must be set first.
Read and Write indicate whether
the value can be read or modified.
public enum PropertyAttributes { NotSupported = 0x00000000, Required = 0x00000001, Optional = 0x00000002, Read = 0x00000200, Write = 0x00000400 }
Hierarchy
System.Object
→
System.ValueType
→
System.Enum(System.IComparable, System.IFormattable, System.IConvertible)
→ PropertyAttributes
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access