Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PropertyAttributes Enumeration
Collapse the table of content
Expand the table of content

PropertyAttributes Enumeration

Specifies the attributes of a property.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
<Flags>
<Serializable>
Public Enum PropertyAttributes
[C#]
[Flags]
[Serializable]
public enum PropertyAttributes
[C++]
[Flags]
[Serializable]
__value public enum PropertyAttributes
[JScript]
public
   Flags
 Serializable
enum PropertyAttributes

Members

Member name Description Value
NotSupported

Supported by the .NET Compact Framework.

The property is not supported by the provider. 0
Optional

Supported by the .NET Compact Framework.

The user does not need to specify a value for this property before the data source is initialized. 2
Read

Supported by the .NET Compact Framework.

The user can read the property. 512
Required

Supported by the .NET Compact Framework.

The user must specify a value for this property before the data source is initialized. 1
Write

Supported by the .NET Compact Framework.

The user can write to the property. 1024

Requirements

Namespace: System.Data

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System.Data (in System.Data.dll)

See Also

System.Data Namespace

Show:
© 2015 Microsoft