Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PropertyAttributes Enumeration

 
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)

[FlagsAttribute]
[ObsoleteAttribute("PropertyAttributes has been deprecated.  http://go.microsoft.com/fwlink/?linkid=14202")]
public enum class 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:
© 2017 Microsoft