ValidOn Property
Collapse the table of content
Expand the table of content

AttributeUsageAttribute.ValidOn Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a set of values identifying which program elements that the indicated attribute can be applied to.

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

'Declaration
Public ReadOnly Property ValidOn As AttributeTargets

Property Value

Type: System.AttributeTargets
One or several AttributeTargets values. The default is All.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft