Skip to content

Latest commit

 

History

History
57 lines (46 loc) · 1.63 KB

File metadata and controls

57 lines (46 loc) · 1.63 KB
title last_is | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.technology
cpp-windows
ms.topic reference
f1_keywords
vc-attr.last_is
dev_langs
C++
helpviewer_keywords
last_is attribute
ms.assetid 9e045ac0-fa38-4249-af55-67bde5d0a58c
author mikeblome
ms.author mblome
ms.workload
cplusplus
uwp

last_is

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

Syntax

  
      [ last_is(  
   "expression"  
) ]  

Parameters

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

Remarks

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

Example

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

Requirements

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.

See Also

IDL Attributes
Typedef, Enum, Union, and Struct Attributes
Parameter Attributes
first_is
max_is
length_is
size_is