DekGenius.com
[ Team LiB ] Previous Section Next Section

PropertyAttributes serializable, flag

System.Data (system.data.dll) enum

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 figs/U2192.gif System.ValueType figs/U2192.gif System.Enum(System.IComparable, System.IFormattable , System.IConvertible) figs/U2192.gif PropertyAttributes

    [ Team LiB ] Previous Section Next Section