LengthIsAttribute Класс

Определение

Указывает количество элементов массива.

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
Наследование
LengthIsAttribute
Атрибуты

Требования к Windows

Семейство устройств
Windows 10 (появилось в 10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (появилось в v1.0)

Конструкторы

LengthIsAttribute(Int32)

Создает и инициализирует новый экземпляр атрибута .

Применяется к

См. также раздел