LengthIsAttribute LengthIsAttribute LengthIsAttribute LengthIsAttribute Class

Definition

Indicates the number of array elements.

public : sealed class LengthIsAttribute : Attribute
public sealed class LengthIsAttribute : Attribute
Public NotInheritable Class LengthIsAttribute Inherits Attribute
var lengthIsAttribute = new lengthIsAttribute(indexLengthParameter);
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Constructors

LengthIsAttribute(Int32) LengthIsAttribute(Int32) LengthIsAttribute(Int32) LengthIsAttribute(Int32)

Creates and initializes a new instance of the attribute.

public : LengthIsAttribute(int indexLengthParameter)
public LengthIsAttribute(Int32 indexLengthParameter)
Public Sub New(indexLengthParameter As Int32)
var lengthIsAttribute = new lengthIsAttribute(indexLengthParameter);
Parameters
indexLengthParameter
int Int32 Int32 Int32

The number of array elements.

See Also