LengthIsAttribute.LengthIsAttribute constructor

Creates and initializes a new instance of the attribute.

Syntax


var lengthIsAttribute = new Windows.Foundation.Metadata.LengthIsAttribute(indexLengthParameter);

Parameters

indexLengthParameter

Type: Number [JavaScript] | System.Int32 [.NET] | int32 [C++]

The number of array elements.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (operating system)

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

LengthIsAttribute

 

 

Show:
© 2015 Microsoft