RangeAttribute Constructor

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

Syntax

public:
RangeAttribute(
         int32 minValue,
         int32 maxValue
)  

Parameters

minValue
Type: int32 

  The minimum value allowed.

maxValue
Type: int32 

  The maximum value allowed.

Requirements

Namespace: Windows.Foundation.Metadata

Metadata: windows.winmd

See also

Reference

RangeAttribute Class

RangeAttribute Members

Windows.Foundation.Metadata Namespace