共用方式為


hidden

Indicates that the item exists but should not be displayed in a user-oriented browser.

[hidden]

Remarks

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

Example

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

Requirements

Attribute Context

Applies to

interface, class, struct, method, property

Repeatable

No

Required attributes

coclass (when applied to class or struct)

Invalid attributes

None

For more information, see Attribute Contexts.

See Also

Other Resources

IDL Attributes

Interface Attributes

Class Attributes

Method Attributes

Attributes Samples