| description | Learn more about: local (C++) | |
|---|---|---|
| title | local (C++ COM Attribute) | |
| ms.date | 10/02/2018 | |
| f1_keywords |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | 35cdd668-bd8e-492a-b7b8-263e7b662437 |
When used in the interface header, allows you to use the MIDL compiler as a header generator. When used in an individual function, designates a local procedure for which no stubs are generated.
[local]The local C++ attribute has the same functionality as the local MIDL attribute.
See call_as for an example of how to use local.
| Attribute context | Value |
|---|---|
| Applies to | interface, interface method |
| Repeatable | No |
| Required attributes | None |
| Invalid attributes | dispinterface |
For more information, see Attribute Contexts.
IDL Attributes
Interface Attributes
Method Attributes
call_as