Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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