| title |
max_is | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
language-reference |
| f1_keywords |
|
| dev_langs |
|
| helpviewer_keywords |
|
| ms.assetid |
7c851f5c-6649-4d77-a792-247c37d8f560 |
| caps.latest.revision |
9 |
| author |
mikeblome |
| ms.author |
mblome |
| manager |
ghogen |
| translation.priority.ht |
cs-cz |
de-de |
es-es |
fr-fr |
it-it |
ja-jp |
ko-kr |
pl-pl |
pt-br |
ru-ru |
tr-tr |
zh-cn |
zh-tw |
|
Designates the maximum value for a valid array index.
[ max_is(
"expression"
) ]
expression
One or more C-language expressions. Empty argument slots are allowed.
Remarks
The max_is C++ attribute has the same functionality as the max_is MIDL attribute.
|
|
| 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