Notiz
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Iech unzemellen oder Verzeechnesser ze änneren.
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Verzeechnesser ze änneren.
Specifies the number of array elements to be transmitted.
Syntax
[ length_is("expression") ]
Parameters
expression
One or more C-language expressions. Empty argument slots are allowed.
Remarks
The length_is C++ attribute has the same functionality as the length_is MIDL attribute.
Example
See first_is for an example of how to specify a section of an array.
Requirements
| Attribute context | Value |
|---|---|
| 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.
See also
IDL Attributes
Typedef, Enum, Union, and Struct Attributes
Parameter Attributes
first_is
max_is
last_is
size_is