custom (C++) (original) (raw)

Defines metadata for an object in the type library.

Syntax

[ custom(
   uuid,
   value
) ];

Parameters

uuid
A unique ID.

value
A value that can be put into a variant.

Remarks

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.

Requirements

Attribute Context

For more information about the attribute contexts, see Attribute Contexts.

See also

IDL Attributes
Stand-Alone Attributes
Typedef, Enum, Union, and Struct Attributes
Parameter Attributes
Method Attributes
Class Attributes
Interface Attributes