PropertyAttributes Enumeration
Note: This API is now obsolete.
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
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: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
<FlagsAttribute> _
<ObsoleteAttribute("PropertyAttributes has been deprecated. https://go.microsoft.com/fwlink/?linkid=14202")> _
Public Enumeration PropertyAttributes
[FlagsAttribute]
[ObsoleteAttribute("PropertyAttributes has been deprecated. https://go.microsoft.com/fwlink/?linkid=14202")]
public enum PropertyAttributes
<object property="enumerationValue" .../>
Members
| Member name | Description | |
|---|---|---|
| NotSupported | The property is not supported by the provider. | |
| Required | The user must specify a value for this property before the data source is initialized. | |
| 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. | |
| Write | The user can write to the property. |
Version Information
Windows Phone OS
Obsolete (compiler warning) in 8.1
Obsolete (compiler warning) in 8.0