Share via


LengthIsAttribute Class

Definition

Indicates the number of array elements.

public ref class LengthIsAttribute sealed : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Parameter)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
class LengthIsAttribute final : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Parameter)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
public sealed class LengthIsAttribute : Attribute
function LengthIsAttribute(indexLengthParameter)
Public NotInheritable Class LengthIsAttribute
Inherits Attribute
Inheritance
LengthIsAttribute
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced in v1.0)

Constructors

LengthIsAttribute(Int32)

Creates and initializes a new instance of the attribute.

Applies to

See also