Export (0) Print
Expand All
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.

RangeAttribute attribute

Applies to Windows and Windows Phone

Indicates the numeric range constraints for the value of a data field.

Syntax


var rangeAttribute = new Windows.Foundation.Metadata.RangeAttribute();

Attributes

[AttributeUsage(128)]
[Version(0x6020000)]

Members

The RangeAttribute attribute has these types of members:

Constructors

The RangeAttribute attribute has these constructors.

ConstructorDescription
RangeAttribute Creates and initializes a new instance of the attribute with the specified minimum and maximum values.

 

Methods

The RangeAttribute attribute inherits methods from the Object class (C#/VB/C++).

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation.Metadata
Windows::Foundation::Metadata [C++]

Metadata

Windows.winmd

See also

Attribute

 

 

Show:
© 2015 Microsoft