| description | Learn more about: max_is | |
|---|---|---|
| title | max_is (C++ COM Attribute) | |
| ms.date | 10/02/2018 | |
| f1_keywords |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | 7c851f5c-6649-4d77-a792-247c37d8f560 |
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 | Value |
|---|---|
| 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.
IDL Attributes
Typedef, Enum, Union, and Struct Attributes
Parameter Attributes
first_is
last_is
length_is
size_is