ICorDebugNativeFrame2::IsChild Method
Determines whether the current frame is a child frame.
Syntax
HRESULT IsChild([out] BOOL * pIsChild);
Parameters
pIsChild
[out] A Boolean value that specifies whether the current frame is a child frame.
Return Value
This method returns the following specific HRESULTs as well as HRESULT errors that indicate method failure.
HRESULT | Description |
---|---|
S_OK | The child status was successfully returned. |
E_FAIL | The child status could not be returned. |
E_INVALIDARG | pIsChild is null. |
Exceptions
Remarks
The IsChild
method returns true
if the frame object on which you call the method is a child of another frame. If this is the case, use the IsMatchingParentFrame method to check whether a frame is its parent.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.