last_islast_is
Задает индекс последнего передаваемого элемента массива.Specifies the index of the last array element to be transmitted.
СинтаксисSyntax
[ last_is("expression") ]
ПараметрыParameters
expressionexpression
Одно или несколько выражений языка C.One or more C-language expressions. Пустые слоты аргументов разрешены.Empty argument slots are allowed.
КомментарииRemarks
Атрибут last_is C++ имеет те же функциональные возможности, что и атрибут last_is MIDL.The last_is C++ attribute has the same functionality as the last_is MIDL attribute.
ПримерExample
Пример указания раздела массива см. в разделе first_is .See first_is for an example of how to specify a section of an array.
ТребованияRequirements
Контекст атрибутаAttribute context | ЗначениеValue |
---|---|
Относится кApplies to | Поле в struct или union , параметр интерфейса, метод интерфейсаField in struct or union , interface parameter, interface method |
REPEATABLERepeatable | НетNo |
Требуемые атрибутыRequired attributes | НетNone |
Недопустимые атрибутыInvalid attributes | НетNone |
Дополнительные сведения см. в разделе Контексты атрибутов.For more information, see Attribute Contexts.
См. также разделSee also
Атрибуты IDLIDL Attributes
Атрибуты typedef, enum, Union и structTypedef, Enum, Union, and Struct Attributes
Атрибуты параметраParameter Attributes
first_isfirst_is
max_ismax_is
length_islength_is
size_issize_is