Skip to content

Commit 4c4323d

Browse files
authored
Merge pull request #2404 from changeworld/patch-8
Delete unnecessary spaces
2 parents 9a865a5 + 8953e32 commit 4c4323d

File tree

1 file changed

+58
-58
lines changed

1 file changed

+58
-58
lines changed

docs/debugger/debug-interface-access/idiaenumsegments.md

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -2,70 +2,70 @@
22
title: "IDiaEnumSegments | Microsoft Docs"
33
ms.date: "11/04/2016"
44
ms.topic: "conceptual"
5-
dev_langs:
5+
dev_langs:
66
- "C++"
7-
helpviewer_keywords:
7+
helpviewer_keywords:
88
- "IDiaEnumSegments interface"
99
ms.assetid: 0c9edd5e-b9ce-43e1-a791-cd4c5d16d923
1010
author: "mikejo5000"
1111
ms.author: "mikejo"
1212
manager: jillfra
13-
ms.workload:
13+
ms.workload:
1414
- "multiple"
1515
---
1616
# IDiaEnumSegments
17-
Enumerates the various segments contained in the data source.
18-
19-
## Syntax
20-
21-
```
22-
IDiaEnumSegments : IUnknown
23-
```
24-
25-
## Methods in Vtable Order
26-
The following table shows the methods of `IDiaEnumSegments`.
27-
28-
|Method|Description|
29-
|------------|-----------------|
30-
|[IDiaEnumSegments::get__NewEnum](../../debugger/debug-interface-access/idiaenumsegments-get-newenum.md)|Retrieves the [IEnumVARIANT Interface](/previous-versions/windows/desktop/api/oaidl/nn-oaidl-ienumvariant) version of this enumerator.|
31-
|[IDiaEnumSegments::get_Count](../../debugger/debug-interface-access/idiaenumsegments-get-count.md)|Retrieves the number of segments.|
32-
|[IDiaEnumSegments::Item](../../debugger/debug-interface-access/idiaenumsegments-item.md)|Retrieves a segment by means of an index.|
33-
|[IDiaEnumSegments::Next](../../debugger/debug-interface-access/idiaenumsegments-next.md)|Retrieves a specified number of segments in the enumeration sequence.|
34-
|[IDiaEnumSegments::Skip](../../debugger/debug-interface-access/idiaenumsegments-skip.md)|Skips a specified number of segments in an enumeration sequence.|
35-
|[IDiaEnumSegments::Reset](../../debugger/debug-interface-access/idiaenumsegments-reset.md)|Resets an enumeration sequence to the beginning.|
36-
|[IDiaEnumSegments::Clone](../../debugger/debug-interface-access/idiaenumsegments-clone.md)|Creates an enumerator that contains the same enumeration state as the current enumerator.|
37-
38-
## Remarks
39-
40-
## Notes for Callers
41-
Obtain this interface by calling the `QueryInterface` method on an [IDiaTable](../../debugger/debug-interface-access/idiatable.md) object. See the example for details.
42-
43-
## Example
44-
This example shows how to obtain the `IDiaEnumSections` interface from a table. For a more complete example of using segments, see the [IDiaSegment](../../debugger/debug-interface-access/idiasegment.md) interface.
45-
46-
```C++
47-
void ShowSegments(IDiaTable *pTable, IDiaSession *pSession)
48-
{
49-
CComPtr<IDiaEnumSegments> pSegments;
50-
if ( SUCCEEDED( pTable->QueryInterface(
51-
__uuidof( IDiaEnumSegments ),
52-
(void**)&pSegments )
53-
)
54-
)
55-
{
56-
// Do something with this enumeration
57-
}
58-
}
59-
```
60-
61-
## Requirements
62-
Header: Dia2.h
63-
64-
Library: diaguids.lib
65-
66-
DLL: msdia80.dll
67-
68-
## See Also
69-
[Interfaces (Debug Interface Access SDK)](../../debugger/debug-interface-access/interfaces-debug-interface-access-sdk.md)
70-
[IDiaTable](../../debugger/debug-interface-access/idiatable.md)
71-
[IDiaSegment](../../debugger/debug-interface-access/idiasegment.md)
17+
Enumerates the various segments contained in the data source.
18+
19+
## Syntax
20+
21+
```
22+
IDiaEnumSegments : IUnknown
23+
```
24+
25+
## Methods in Vtable Order
26+
The following table shows the methods of `IDiaEnumSegments`.
27+
28+
|Method|Description|
29+
|------------|-----------------|
30+
|[IDiaEnumSegments::get__NewEnum](../../debugger/debug-interface-access/idiaenumsegments-get-newenum.md)|Retrieves the [IEnumVARIANT Interface](/previous-versions/windows/desktop/api/oaidl/nn-oaidl-ienumvariant) version of this enumerator.|
31+
|[IDiaEnumSegments::get_Count](../../debugger/debug-interface-access/idiaenumsegments-get-count.md)|Retrieves the number of segments.|
32+
|[IDiaEnumSegments::Item](../../debugger/debug-interface-access/idiaenumsegments-item.md)|Retrieves a segment by means of an index.|
33+
|[IDiaEnumSegments::Next](../../debugger/debug-interface-access/idiaenumsegments-next.md)|Retrieves a specified number of segments in the enumeration sequence.|
34+
|[IDiaEnumSegments::Skip](../../debugger/debug-interface-access/idiaenumsegments-skip.md)|Skips a specified number of segments in an enumeration sequence.|
35+
|[IDiaEnumSegments::Reset](../../debugger/debug-interface-access/idiaenumsegments-reset.md)|Resets an enumeration sequence to the beginning.|
36+
|[IDiaEnumSegments::Clone](../../debugger/debug-interface-access/idiaenumsegments-clone.md)|Creates an enumerator that contains the same enumeration state as the current enumerator.|
37+
38+
## Remarks
39+
40+
## Notes for Callers
41+
Obtain this interface by calling the `QueryInterface` method on an [IDiaTable](../../debugger/debug-interface-access/idiatable.md) object. See the example for details.
42+
43+
## Example
44+
This example shows how to obtain the `IDiaEnumSections` interface from a table. For a more complete example of using segments, see the [IDiaSegment](../../debugger/debug-interface-access/idiasegment.md) interface.
45+
46+
```C++
47+
void ShowSegments(IDiaTable *pTable, IDiaSession *pSession)
48+
{
49+
CComPtr<IDiaEnumSegments> pSegments;
50+
if ( SUCCEEDED( pTable->QueryInterface(
51+
__uuidof( IDiaEnumSegments ),
52+
(void**)&pSegments )
53+
)
54+
)
55+
{
56+
// Do something with this enumeration
57+
}
58+
}
59+
```
60+
61+
## Requirements
62+
Header: Dia2.h
63+
64+
Library: diaguids.lib
65+
66+
DLL: msdia80.dll
67+
68+
## See Also
69+
[Interfaces (Debug Interface Access SDK)](../../debugger/debug-interface-access/interfaces-debug-interface-access-sdk.md)
70+
[IDiaTable](../../debugger/debug-interface-access/idiatable.md)
71+
[IDiaSegment](../../debugger/debug-interface-access/idiasegment.md)

0 commit comments

Comments
 (0)