PropertyAttributes Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Note: This API is now obsolete.

Specifies the attributes of a property.

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

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

[ObsoleteAttribute("PropertyAttributes has been deprecated.  http://go.microsoft.com/fwlink/?linkid=14202")]
[FlagsAttribute]
public enum PropertyAttributes

Member nameDescription
NotSupported

The property is not supported by the provider.

Optional

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

Read

The user can read the property.

Required

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

Write

The user can write to the property.

.NET Framework
Available since 1.1
Windows Phone Silverlight
Available since 8.0
Return to top
Show: