description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: custom (C++) |
custom (C++) |
11/04/2016 |
|
|
3abac928-4d55-4ea6-8cf6-8427a4ad79f1 |
Defines metadata for an object in the type library.
[ custom(
uuid,
value
) ];
uuid
A unique ID.
value
A value that can be put into a variant.
The custom C++ attribute will cause information to be placed into the type library. You will need a tool that reads the custom value from type library.
The custom attribute has the same functionality as the custom MIDL attribute.
- Applies to: Non-COM
interface
,idl_module
methods, interface members, interface parameters,typedef
,class
,enum
,union
, andstruct
types. - Repeatable: Yes.
- Required attributes: coclass (when used on class).
- Invalid attributes: None.
For more information about the attribute contexts, see Attribute Contexts.
IDL Attributes
Stand-Alone Attributes
Typedef, Enum, Union, and Struct Attributes
Parameter Attributes
Method Attributes
Class Attributes
Interface Attributes