Skip to content

Commit a579378

Browse files
author
mtx48109
committed
consolidation oledb pr10
1 parent 2fee4d4 commit a579378

12 files changed

+222
-337
lines changed

.openpublishing.redirection.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,46 @@
690690
"redirect_url": "/cpp/data/oledb/cdberrorinfo-class#geterrorrecords",
691691
"redirect_document_id": false
692692
},
693+
{
694+
"source_path": "docs/data/oledb/cdbpropidset-addpropertyid.md",
695+
"redirect_url": "/cpp/data/oledb/cdbpropidset-class#addpropertyid",
696+
"redirect_document_id": false
697+
},
698+
{
699+
"source_path": "docs/data/oledb/cdbpropidset-cdbpropidset.md",
700+
"redirect_url": "/cpp/data/oledb/cdbpropidset-class#cdbpropidset",
701+
"redirect_document_id": false
702+
},
703+
{
704+
"source_path": "docs/data/oledb/cdbpropidset-operator-equal.md",
705+
"redirect_url": "/cpp/data/oledb/cdbpropidset-class#op_equal",
706+
"redirect_document_id": false
707+
},
708+
{
709+
"source_path": "docs/data/oledb/cdbpropidset-setguid.md",
710+
"redirect_url": "/cpp/data/oledb/cdbpropidset-class#setguid",
711+
"redirect_document_id": false
712+
},
713+
{
714+
"source_path": "docs/data/oledb/cdbpropset-addproperty.md",
715+
"redirect_url": "/cpp/data/oledb/cdbpropset-class#addproperty",
716+
"redirect_document_id": false
717+
},
718+
{
719+
"source_path": "docs/data/oledb/cdbpropset-cdbpropset.md",
720+
"redirect_url": "/cpp/data/oledb/cdbpropset-class#cdbpropset",
721+
"redirect_document_id": false
722+
},
723+
{
724+
"source_path": "docs/data/oledb/cdbpropset-operator-equal.md",
725+
"redirect_url": "/cpp/data/oledb/cdbpropset-class#op_equal",
726+
"redirect_document_id": false
727+
},
728+
{
729+
"source_path": "docs/data/oledb/cdbpropset-setguid.md",
730+
"redirect_url": "/cpp/data/oledb/cdbpropset-class#setguid",
731+
"redirect_document_id": false
732+
},
693733
{
694734
"source_path": "docs/dotnet/index.md",
695735
"redirect_url": "/cpp/dotnet/dotnet-programming-with-cpp-cli-visual-cpp",

docs/data/oledb/TOC.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,7 @@
103103
### [CDataSource Class](cdatasource-class.md)
104104
### [CDBErrorInfo Class](cdberrorinfo-class.md)
105105
### [CDBPropIDSet Class](cdbpropidset-class.md)
106-
#### [CDBPropIDSet::AddPropertyID](cdbpropidset-addpropertyid.md)
107-
#### [CDBPropIDSet::CDBPropIDSet](cdbpropidset-cdbpropidset.md)
108-
#### [CDBPropIDSet::operator =](cdbpropidset-operator-equal.md)
109-
#### [CDBPropIDSet::SetGUID](cdbpropidset-setguid.md)
110106
### [CDBPropSet Class](cdbpropset-class.md)
111-
#### [CDBPropSet::AddProperty](cdbpropset-addproperty.md)
112-
#### [CDBPropSet::CDBPropSet](cdbpropset-cdbpropset.md)
113-
#### [CDBPropSet::operator =](cdbpropset-operator-equal.md)
114-
#### [CDBPropSet::SetGUID](cdbpropset-setguid.md)
115107
### [CDynamicAccessor Class](cdynamicaccessor-class.md)
116108
#### [CDynamicAccessor::AddBindEntry](cdynamicaccessor-addbindentry.md)
117109
#### [CDynamicAccessor::CDynamicAccessor](cdynamicaccessor-cdynamicaccessor.md)

docs/data/oledb/cdbpropidset-addpropertyid.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

docs/data/oledb/cdbpropidset-cdbpropidset.md

Lines changed: 0 additions & 40 deletions
This file was deleted.

docs/data/oledb/cdbpropidset-class.md

Lines changed: 73 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,107 @@ ms.custom: ""
44
ms.date: "11/04/2016"
55
ms.technology: ["cpp-data"]
66
ms.topic: "reference"
7-
f1_keywords: ["CDBPropIDSet", "ATL.CDBPropIDSet", "ATL::CDBPropIDSet"]
7+
f1_keywords: ["CDBPropIDSet", "ATL.CDBPropIDSet", "ATL::CDBPropIDSet",
8+
"CDBPropIDSet.AddPropertyID", "CDBPropIDSet::AddPropertyID", "AddPropertyID", "ATL.CDBPropIDSet.AddPropertyID", "ATL::CDBPropIDSet::AddPropertyID",
9+
"ATL::CDBPropIDSet::CDBPropIDSet", "CDBPropIDSet", "CDBPropIDSet.CDBPropIDSet", "CDBPropIDSet::CDBPropIDSet", "ATL.CDBPropIDSet.CDBPropIDSet",
10+
"CDBPropIDSet.operator=", "ATL.CDBPropIDSet.operator=", "ATL::CDBPropIDSet::operator=", "CDBPropIDSet::operator=",
11+
"CDBPropIDSet.SetGUID", "ATL::CDBPropIDSet::SetGUID", "SetGUID", "ATL.CDBPropIDSet.SetGUID", "CDBPropIDSet::SetGUID"]
812
dev_langs: ["C++"]
9-
helpviewer_keywords: ["CDBPropIDSet class"]
13+
helpviewer_keywords: ["CDBPropIDSet class", "AddPropertyID method", "CDBPropIDSet class, constructor",
14+
"operator =, property sets", "= operator, with OLE DB templates", "operator=, property sets", "SetGUID method"]
1015
ms.assetid: 52bb806c-9581-494d-9af7-50d8a4834805
1116
author: "mikeblome"
1217
ms.author: "mblome"
1318
ms.workload: ["cplusplus", "data-storage"]
1419
---
1520
# CDBPropIDSet Class
16-
Inherits from the **DBPROPIDSET** structure and adds a constructor that initializes key fields as well as the [AddPropertyID](../../data/oledb/cdbpropidset-addpropertyid.md) access method.
21+
Inherits from the `DBPROPIDSET` structure and adds a constructor that initializes key fields as well as the [AddPropertyID](../../data/oledb/cdbpropidset-addpropertyid.md) access method.
1722

1823
## Syntax
1924

2025
```cpp
2126
class CDBPropIDSet : public tagDBPROPIDSET
2227
```
28+
29+
## Requirements
30+
**Header:** atldbcli.h
2331
2432
## Members
2533
2634
### Methods
2735
2836
|||
2937
|-|-|
30-
|[AddPropertyID](../../data/oledb/cdbpropidset-addpropertyid.md)|Adds a property to the property ID set.|
31-
|[CDBPropIDSet](../../data/oledb/cdbpropidset-cdbpropidset.md)|Constructor.|
32-
|[SetGUID](../../data/oledb/cdbpropidset-setguid.md)|Sets the GUID of the property ID set.|
38+
|[AddPropertyID](#addpropertyid)|Adds a property to the property ID set.|
39+
|[CDBPropIDSet](#cdbpropidset)|Constructor.|
40+
|[SetGUID](#setguid)|Sets the GUID of the property ID set.|
3341
3442
### Operators
3543
3644
|||
3745
|-|-|
38-
|[operator =](../../data/oledb/cdbpropidset-operator-equal.md)|Assigns the contents of one property ID set to another.|
46+
|[operator =](#op_equal)|Assigns the contents of one property ID set to another.|
3947
4048
## Remarks
41-
OLE DB consumers use **DBPROPIDSET** structures to pass an array of property IDs for which the consumer wants to get property information. The properties identified in a single [DBPROPIDSET](https://msdn.microsoft.com/en-us/library/ms717981.aspx) structure belong to one property set.
49+
OLE DB consumers use `DBPROPIDSET` structures to pass an array of property IDs for which the consumer wants to get property information. The properties identified in a single [DBPROPIDSET](https://msdn.microsoft.com/library/ms717981.aspx) structure belong to one property set.
50+
51+
## <a name="addpropertyid"></a> CDBPropIDSet::AddPropertyID
52+
Adds a property ID to the property ID set.
4253
43-
## Requirements
44-
**Header:** atldbcli.h
54+
### Syntax
55+
56+
```cpp
57+
bool AddPropertyID(DBPROPID propid) throw();
58+
```
59+
60+
#### Parameters
61+
*propid*
62+
[in] The property ID to be added to the property ID set.
63+
64+
## <a name="cdbpropidset"></a> CDBPropIDSet::CDBPropIDSet
65+
The constructor. Initializes the `rgProperties`, `cProperties`, and (optionally) `guidPropertySet` fields of the [DBPROPIDSET](https://msdn.microsoft.com/library/ms717981.aspx) structure.
66+
67+
### Syntax
68+
69+
```cpp
70+
CDBPropIDSet(const GUID& guid);
71+
72+
CDBPropIDSet(const CDBPropIDSet& propidset);
73+
74+
CDBPropIDSet();
75+
```
76+
77+
#### Parameters
78+
*guid*
79+
[in] A GUID used to initialize the `guidPropertySet` field.
80+
81+
*propidset*
82+
[in] Another `CDBPropIDSet` object for copy construction.
83+
84+
## <a name="setguid"></a> CDBPropIDSet::SetGUID
85+
Sets the GUID field in the `DBPROPIDSET` structure.
86+
87+
### Syntax
88+
89+
```cpp
90+
void SetGUID(const GUID& guid) throw();
91+
```
92+
93+
#### Parameters
94+
*guid*
95+
[in] A GUID used to set the `guidPropertySet` field of the [DBPROPIDSET](https://msdn.microsoft.com/library/ms717981.aspx) structure.
96+
97+
### Remarks
98+
This field can be set by the [constructor](../../data/oledb/cdbpropidset-cdbpropidset.md) as well. Call this function if you use the default constructor for this class.
99+
100+
## <a name="op_equal"></a> CDBPropIDSet::operator =
101+
Assigns the contents of one property ID set to another ID property set.
102+
103+
### Syntax
104+
105+
```cpp
106+
CDBPropIDSet& operator =(CDBPropIDSet& propset) throw();
107+
```
45108

46109
## See Also
47110
[OLE DB Consumer Templates](../../data/oledb/ole-db-consumer-templates-cpp.md)

docs/data/oledb/cdbpropidset-operator-equal.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

docs/data/oledb/cdbpropidset-setguid.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

docs/data/oledb/cdbpropset-addproperty.md

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)