max_is
Designates the maximum value for a valid array index.
[ max_is(
"expression"
) ]
Параметры
- expression
One or more C-language expressions. Empty argument slots are allowed.
Заметки
The max_is C++ attribute has the same functionality as the max_is MIDL attribute.
Требования
Attribute Context
Applies to |
Field in struct or union, interface parameter, interface method |
Repeatable |
No |
Required attributes |
None |
Invalid attributes |
size_is |
For more information, see Attribute Contexts.
Пример
See first_is for an example of how to specify a section of an array.