LengthIsAttribute LengthIsAttribute LengthIsAttribute LengthIsAttribute Class

Indicates the number of array elements.

Syntax

Declaration

public sealed class LengthIsAttributepublic sealed class LengthIsAttributePublic NotInheritable Class LengthIsAttribute

Constructors summary

Creates and initializes a new instance of the attribute.

Constructors

  • LengthIsAttribute(System.Int32)
    LengthIsAttribute(System.Int32)
    LengthIsAttribute(System.Int32)
    LengthIsAttribute(System.Int32)

    Creates and initializes a new instance of the attribute.

    public LengthIsAttribute(System.Int32 indexLengthParameter)public LengthIsAttribute(System.Int32 indexLengthParameter)Public Function LengthIsAttribute(indexLengthParameter As System.Int32) As

    Parameters

    • indexLengthParameter
      System.Int32
      System.Int32
      System.Int32
      System.Int32

      The number of array elements.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.FoundationContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.AttributeUsageAttribute

Details

Assembly

Windows.Foundation.Metadata.dll