Поделиться через


last_is

Specifies the index of the last array element to be transmitted.

[ last_is(
   "expression"
) ]

Параметры

  • expression
    One or more C-language expressions. Empty argument slots are allowed.

Заметки

The last_is C++ attribute has the same functionality as the last_is MIDL attribute.

Пример

See first_is for an example of how to specify a section of an array.

Требования

Attribute Context

Applies to

Field in struct or union, interface parameter, interface method

Repeatable

No

Required attributes

None

Invalid attributes

None

For more information, see Attribute Contexts.

См. также

Основные понятия

IDL Attributes

Typedef, Enum, Union, and Struct Attributes

Parameter Attributes

first_is

max_is

length_is

size_is

ATL Samples