Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
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 .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 4.0