Skip to content

Commit 907deb0

Browse files
Merge pull request #13851 from Mikejo5000/mikejo-br25
Clarify behavior for IDiaSymbol::findChildren
2 parents 747bd89 + aec70fb commit 907deb0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/debugger/debug-interface-access/idiasymbol-findchildren.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Retrieves the children of the symbol.
33
title: "IDiaSymbol::findChildren"
4-
ms.date: "11/04/2016"
4+
ms.date: "04/22/2025"
55
ms.topic: "reference"
66
dev_langs:
77
- "C++"
@@ -51,6 +51,8 @@ HRESULT findChildren (
5151
## Remarks
5252
This method is identical to calling the [IDiaSession::findChildren](../../debugger/debug-interface-access/idiasession-findchildren.md) method with this symbol as the first parameter.
5353

54+
This method finds only the children of the current symbol. For example, public symbols (SymTagPublicSymbol) are children only of the global scope, regardless of whether the Function symbol or Data symbol that they refer to might be children of other symbols (such as Compilands, types, and others). For a list of symbol types, see [Lexical Hierarchy of Symbol Types](../debug-interface-access/lexical-hierarchy-of-symbol-types.md).
55+
5456
## See also
5557
- [IDiaSymbol](../../debugger/debug-interface-access/idiasymbol.md)
5658
- [SymTagEnum Enumeration](../../debugger/debug-interface-access/symtagenum.md)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: "Describes the properties of a symbol instance."
33
title: "IDiaSymbol"
4-
ms.date: "07/08/2024"
4+
ms.date: "04/22/2025"
55
ms.topic: "reference"
66
dev_langs:
77
- "C++"
@@ -27,7 +27,7 @@ IDiaSymbol : IUnknown
2727
The following table shows the methods of `IDiaSymbol`.
2828

2929
> [!NOTE]
30-
> Symbols will return meaningful data for only some of these methods, depending on the type of symbol. If a method returns `S_OK`, then that method has returned meaningful data.
30+
> Symbols will return meaningful data for only some of these methods, depending on the type of symbol. If a method returns `S_OK`, then that method has returned meaningful data. For a list of symbol types, see [Lexical Hierarchy of Symbol Types](../debug-interface-access/lexical-hierarchy-of-symbol-types.md).
3131
3232
|Method|Description|
3333
|------------|-----------------|

0 commit comments

Comments
 (0)