This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. Download it here
Retrieves the children of the symbol.
HRESULT findChildren ( enum SymTagEnum symtag, LPCOLESTR name, DWORD compareFlags, IDiaEnumSymbols** ppResult );
[in] Specifies the symbol tags of the children to be retrieved, as defined in the SymTagEnum Enumeration. Set to
SymTagNull for all children to be retrieved.
[in] Specifies the name of the children to be retrieved. Set to
NULL for all children to be retrieved.
[in] Specifies the comparison options applied to name matching. Values from the NameSearchOptions Enumeration enumeration can be used alone or in combination.
[out] Returns an IDiaEnumSymbols object that contains a list of the child symbols retrieved.
S_OK if at least one child of the symbol was found, or returns
S_FALSE if no children were found; otherwise returns an error code.
This method is identical to calling the IDiaSession::findChildren method with this symbol as the first parameter.