Skip to content

Commit 8dfbe2c

Browse files
author
mtx48109
committed
added another class
1 parent c53b46f commit 8dfbe2c

9 files changed

Lines changed: 111 additions & 181 deletions

‎.openpublishing.redirection.json‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -920,6 +920,31 @@
920920
"redirect_url": "/cpp/data/oledb/cenumerator-class#open",
921921
"redirect_document_id": false
922922
},
923+
{
924+
"source_path": "docs/data/oledb/cenumeratoraccessor-m-bisparent.md",
925+
"redirect_url": "/cpp/data/oledb/cenumeratoraccessor-class#bisparent",
926+
"redirect_document_id": false
927+
},
928+
{
929+
"source_path": "docs/data/oledb/cenumeratoraccessor-m-ntype.md",
930+
"redirect_url": "/cpp/data/oledb/cenumeratoraccessor-class#ntype",
931+
"redirect_document_id": false
932+
},
933+
{
934+
"source_path": "docs/data/oledb/cenumeratoraccessor-m-szdescription.md",
935+
"redirect_url": "/cpp/data/oledb/cenumeratoraccessor-class#szdescription",
936+
"redirect_document_id": false
937+
},
938+
{
939+
"source_path": "docs/data/oledb/cenumeratoraccessor-m-szname.md",
940+
"redirect_url": "/cpp/data/oledb/cenumeratoraccessor-class#szname",
941+
"redirect_document_id": false
942+
},
943+
{
944+
"source_path": "docs/data/oledb/cenumeratoraccessor-m-szparsename.md",
945+
"redirect_url": "/cpp/data/oledb/cenumeratoraccessor-class#szparsename",
946+
"redirect_document_id": false
947+
},
923948
{
924949
"source_path": "docs/dotnet/index.md",
925950
"redirect_url": "/cpp/dotnet/dotnet-programming-with-cpp-cli-visual-cpp",

‎docs/data/oledb/TOC.md‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,6 @@
111111
### [CDynamicStringAccessorW Class](cdynamicstringaccessorw-class.md)
112112
### [CEnumerator Class](cenumerator-class.md)
113113
### [CEnumeratorAccessor Class](cenumeratoraccessor-class.md)
114-
#### [CEnumeratorAccessor::m_bIsParent](cenumeratoraccessor-m-bisparent.md)
115-
#### [CEnumeratorAccessor::m_nType](cenumeratoraccessor-m-ntype.md)
116-
#### [CEnumeratorAccessor::m_szDescription](cenumeratoraccessor-m-szdescription.md)
117-
#### [CEnumeratorAccessor::m_szName](cenumeratoraccessor-m-szname.md)
118-
#### [CEnumeratorAccessor::m_szParseName](cenumeratoraccessor-m-szparsename.md)
119114
### [CManualAccessor Class](cmanualaccessor-class.md)
120115
#### [CManualAccessor::AddBindEntry](cmanualaccessor-addbindentry.md)
121116
#### [CManualAccessor::AddParameterEntry](cmanualaccessor-addparameterentry.md)

‎docs/data/oledb/cenumerator-class.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class CEnumerator : 
4343
## <a name="find"></a> CEnumerator::Find
4444
Looks for a specified name among available providers.
4545
46-
## Syntax
46+
### Syntax
4747
4848
```cpp
4949
bool Find(TCHAR* szSearchName) throw();
@@ -53,16 +53,16 @@ Looks for a specified name among available providers.
5353
*szSearchName*
5454
[in] The name to search for.
5555

56-
## Return Value
56+
### Return Value
5757
**true** if the name was found. Otherwise, **false**.
5858

59-
## Remarks
59+
### Remarks
6060
This name maps to the `SOURCES_NAME` member of the [ISourcesRowset](https://msdn.microsoft.com/library/ms715969.aspx) interface.
6161

6262
## <a name="getmoniker"></a> CEnumerator::GetMoniker
6363
Parses the display name to extract the component of the string that can be converted into a moniker.
6464

65-
## Syntax
65+
### Syntax
6666

6767
```cpp
6868
HRESULT GetMoniker(LPMONIKER* ppMoniker) const throw();
@@ -79,13 +79,13 @@ HRESULT GetMoniker(LPMONIKER* ppMoniker, 
7979
*lpszDisplayName*
8080
[in] The display name to parse.
8181
82-
## Return Value
82+
### Return Value
8383
A standard HRESULT.
8484
8585
## <a name="open"></a> CEnumerator::Open
8686
Binds the moniker for the enumerator, if one is specified, then retrieves the rowset for the enumerator by calling [ISourcesRowset::GetSourcesRowset](https://msdn.microsoft.com/library/ms711200.aspx).
8787
88-
## Syntax
88+
### Syntax
8989
9090
```cpp
9191
HRESULT Open(LPMONIKER pMoniker) throw();
@@ -107,7 +107,7 @@ HRESULT Open(const CEnumerator& enumerator) throw();
107107
*enumerator*
108108
[in] A reference to an enumerator.
109109

110-
## Return Value
110+
### Return Value
111111
A standard HRESULT.
112112

113113
## See Also

‎docs/data/oledb/cenumeratoraccessor-class.md‎

Lines changed: 79 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@ ms.custom: ""
44
ms.date: "11/04/2016"
55
ms.technology: ["cpp-data"]
66
ms.topic: "reference"
7-
f1_keywords: ["ATL::CEnumeratorAccessor", "CEnumeratorAccessor", "ATL.CEnumeratorAccessor"]
7+
f1_keywords: ["ATL::CEnumeratorAccessor", "CEnumeratorAccessor", "ATL.CEnumeratorAccessor",
8+
"CEnumeratorAccessor.m_bIsParent", "ATL::CEnumeratorAccessor::m_bIsParent", "m_bIsParent", "ATL.CEnumeratorAccessor.m_bIsParent", "CEnumeratorAccessor::m_bIsParent",
9+
"ATL::CEnumeratorAccessor::m_nType", "CEnumeratorAccessor.m_nType", "CEnumeratorAccessor::m_nType", "ATL.CEnumeratorAccessor.m_nType", "m_nType",
10+
"ATL::CEnumeratorAccessor::m_szDescription", "CEnumeratorAccessor.m_szDescription", "CEnumeratorAccessor::m_szDescription", "ATL.CEnumeratorAccessor.m_szDescription",
11+
"CEnumeratorAccessor::m_szName", "ATL.CEnumeratorAccessor.m_szName", "m_szName", "ATL::CEnumeratorAccessor::m_szName", "CEnumeratorAccessor.m_szName",
12+
"CEnumeratorAccessor::m_szParseName", "ATL::CEnumeratorAccessor::m_szParseName", "m_szParseName", "CEnumeratorAccessor.m_szParseName", "ATL.CEnumeratorAccessor.m_szParseName"]
813
dev_langs: ["C++"]
9-
helpviewer_keywords: ["CEnumeratorAccessor class"]
14+
helpviewer_keywords: ["CEnumeratorAccessor class", "m_bIsParent", "m_nType", "m_szDescription", "m_szName", "m_szParseName"]
1015
ms.assetid: 21e8e7ea-3511-4afe-b33f-d520f4ff82bb
1116
author: "mikeblome"
1217
ms.author: "mblome"
@@ -20,24 +25,89 @@ Used by [CEnumerator](../../data/oledb/cenumerator-class.md) to access the data
2025
```cpp
2126
class CEnumeratorAccessor
2227
```
28+
29+
## Requirements
30+
**Header:** atldbcli.h
2331
2432
## Members
2533
2634
### Data Members
2735
2836
|||
2937
|-|-|
30-
|[m_bIsParent](../../data/oledb/cenumeratoraccessor-m-bisparent.md)|A variable indicating whether the enumerator is a parent enumerator, if the row is an enumerator.|
31-
|[m_nType](../../data/oledb/cenumeratoraccessor-m-ntype.md)|A variable indicating whether the row describes a data source or an enumerator.|
32-
|[m_szDescription](../../data/oledb/cenumeratoraccessor-m-szdescription.md)|The description of the data source or enumerator.|
33-
|[m_szName](../../data/oledb/cenumeratoraccessor-m-szname.md)|The name of the data source or enumerator.|
34-
|[m_szParseName](../../data/oledb/cenumeratoraccessor-m-szparsename.md)|String to pass to [IParseDisplayName](http://msdn.microsoft.com/library/windows/desktop/ms680604) to obtain a moniker for the data source or enumerator.|
38+
|[m_bIsParent](#bisparent)|A variable indicating whether the enumerator is a parent enumerator, if the row is an enumerator.|
39+
|[m_nType](#ntype)|A variable indicating whether the row describes a data source or an enumerator.|
40+
|[m_szDescription](#szdescription)|The description of the data source or enumerator.|
41+
|[m_szName](#szname)|The name of the data source or enumerator.|
42+
|[m_szParseName](#szparsename)|String to pass to [IParseDisplayName](http://msdn.microsoft.com/library/windows/desktop/ms680604) to obtain a moniker for the data source or enumerator.|
3543
3644
## Remarks
3745
This rowset consists of the data sources and enumerators visible from the current enumerator.
3846
39-
## Requirements
40-
**Header:** atldbcli.h
47+
## <a name="bisparent"></a> CEnumeratorAccessor::m_bIsParent
48+
A variable indicating whether the enumerator is a parent enumerator, if the row is an enumerator.
49+
50+
### Syntax
51+
52+
```cpp
53+
VARIANT_BOOL m_bIsParent;
54+
55+
```
56+
57+
### Remarks
58+
See [ISourcesRowset::GetSourcesRowset](https://msdn.microsoft.com/library/ms711200.aspx) in the *OLE DB Programmer's Reference* for more information.
59+
60+
## <a name="ntype"></a> CEnumeratorAccessor::m_nType
61+
A variable indicating whether the row describes a data source or an enumerator.
62+
63+
### Syntax
64+
65+
```cpp
66+
USHORT m_nType;
67+
68+
```
69+
70+
### Remarks
71+
See [ISourcesRowset::GetSourcesRowset](https://msdn.microsoft.com/library/ms711200.aspx) in the *OLE DB Programmer's Reference* for more information.
72+
73+
## <a name="szdescription"></a> CEnumeratorAccessor::m_szDescription
74+
The description of the data source or enumerator.
75+
76+
### Syntax
77+
78+
```cpp
79+
WCHAR m_szDescription[129];
80+
81+
```
82+
83+
### Remarks
84+
See [ISourcesRowset::GetSourcesRowset](https://msdn.microsoft.com/library/ms711200.aspx) in the *OLE DB Programmer's Reference* for more information.
85+
86+
## <a name="szname"></a> CEnumeratorAccessor::m_szName
87+
The name of the data source or enumerator.
88+
89+
### Syntax
90+
91+
```cpp
92+
WCHAR m_szName[129];
93+
94+
```
95+
96+
### Remarks
97+
See [ISourcesRowset::GetSourcesRowset](https://msdn.microsoft.com/library/ms711200.aspx) in the *OLE DB Programmer's Reference* for more information.
98+
99+
## <a name="szparsename"></a> CEnumeratorAccessor::m_szParseName
100+
String to pass to [IParseDisplayName](http://msdn.microsoft.com/library/windows/desktop/ms680604) to obtain a moniker for the data source or enumerator.
101+
102+
### Syntax
103+
104+
```cpp
105+
WCHAR m_szParseName[129];
106+
107+
```
108+
109+
### Remarks
110+
See [ISourcesRowset::GetSourcesRowset](https://msdn.microsoft.com/library/ms711200.aspx) in the *OLE DB Programmer's Reference* for more information.
41111

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

‎docs/data/oledb/cenumeratoraccessor-m-bisparent.md‎

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

‎docs/data/oledb/cenumeratoraccessor-m-ntype.md‎

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

‎docs/data/oledb/cenumeratoraccessor-m-szdescription.md‎

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

‎docs/data/oledb/cenumeratoraccessor-m-szname.md‎

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

‎docs/data/oledb/cenumeratoraccessor-m-szparsename.md‎

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

0 commit comments

Comments
 (0)