Skip to content

Commit bd0aea2

Browse files
author
mikeblome
committed
added back missing file and fixed toc
1 parent 7f227b4 commit bd0aea2

3 files changed

Lines changed: 41 additions & 1 deletion

File tree

docs/windows/TOC.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,10 @@
404404
# [C++ Attributes for COM and .NET](attributes/cpp-attributes-com-net.md)
405405
## [Attribute Programming FAQ](attributes/attribute-programming-faq.md)
406406
## [Attributes by Group](attributes/attributes-by-group.md)
407+
### [COM Attributes](attributes/com-attributes.md)
408+
### [IDL Attributes](attributes/idl-attributes.md)
409+
### [OLE DB Consumer Attributes](attributes/ole-db-consumer-attributes.md)
410+
### [Compiler Attributes](attributes/compiler-attributes.md)
407411
## [Attributes by Usage](attributes/attributes-by-usage.md)
408412
### [Module Attributes](attributes/module-attributes.md)
409413
### [Interface Attributes](attributes/interface-attributes.md)
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: "COM Attributes | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "10/03/2018"
5+
ms.technology: ["cpp-windows"]
6+
ms.topic: "reference"
7+
dev_langs: ["C++"]
8+
helpviewer_keywords: ["attributes [C++/CLI], reference topics", "attributes [COM]", "COM, attributes"]
9+
ms.assetid: 52a5dd70-e8be-4bba-afd6-daf90fe689a0
10+
author: "mikeblome"
11+
ms.author: "mblome"
12+
ms.workload: ["cplusplus", "uwp"]
13+
---
14+
# COM Attributes
15+
16+
The COM attributes inject code to support numerous areas of COM development and .NET Framework common language runtime development. These areas range from custom interface implementation and support of existing interfaces to supporting stock properties, methods, and events. In addition, support can be found for composite and ActiveX control implementation.
17+
18+
|Attribute|Description|
19+
|---------------|-----------------|
20+
|[aggregatable](../windows/aggregatable.md)|Indicates that a control can be aggregated by another control.|
21+
|[aggregates](../windows/aggregates.md)|Indicates that a control aggregates the target class.|
22+
|[coclass](../windows/coclass.md)|Creates a COM object, which can implement a COM interface.|
23+
|[com_interface_entry](../windows/com-interface-entry-cpp.md)|Adds an interface entry to a COM map.|
24+
|[implements_category](../windows/implements-category.md)|Specifies implemented component categories for the class.|
25+
|[progid](../windows/progid.md)|Defines the ProgID for a control.|
26+
|[rdx](../windows/rdx.md)|Creates or modifies a registry key.|
27+
|[registration_script](../windows/registration-script.md)|Executes the specified registration script.|
28+
|[requires_category](../windows/requires-category.md)|Specifies required component categories for the class.|
29+
|[support_error_info](../windows/support-error-info.md)|Supports error reporting for the target object.|
30+
|[synchronize](../windows/synchronize.md)|Synchronizes access to a method.|
31+
|[threading](../windows/threading-cpp.md)|Specifies the threading model for a COM object.|
32+
|[vi_progid](../windows/vi-progid.md)|Defines a version-independent ProgID for a control.|
33+
34+
## See Also
35+
36+
[Attributes by Group](../windows/attributes-by-group.md)

docs/windows/attributes/cpp-attributes-com-net.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ Some projects contain multiple independent .idl files. These are used to produce
7676
7777
In addition, the Visual C++ linker will output all IDL-related attribute information to a single MIDL file. There will be no way to generate two type libraries from a single project.
7878
79+
## <a name="contexts"></a> Attribute Contexts
7980
80-
## Attribute Contexts
8181
C++ attributes can be described using four basic fields: the target they can be applied to (**Applies To**), if they are repeatable or not (**Repeatable**), the required presence of other attributes (**Required Attributes**), and incompatibilities with other attributes (**Invalid Attributes**). These fields are listed in an accompanying table in each attribute's reference topic. Each of these fields is described below.
8282
8383
### Applies To

0 commit comments

Comments
 (0)