Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.12 KB

id.md

File metadata and controls

50 lines (36 loc) · 1.12 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: id
id (C++ COM Attribute)
10/02/2018
vc-attr.id
id attribute
a48d2c99-c5d2-4f46-bf96-5ac88dcb5d0c

id

Specifies a dispid parameter for a member function (either a property or a method, in an interface or dispinterface).

Syntax

[ id(dispid) ]

Parameters

dispid
The dispatch ID for the interface method.

Remarks

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

Example

See the example for bindable for an example of how to use id.

Requirements

Attribute context Value
Applies to Interface method
Repeatable No
Required attributes None
Invalid attributes None

For more information, see Attribute Contexts.

See also

IDL Attributes
Method Attributes
Data Member Attributes
defaultvalue
in
out