Share via


ICorDebugNativeFrame2::IsChild Method

Determines whether the current frame is a child frame.

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.

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 Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4

See Also

Reference

ICorDebugNativeFrame2 Interface

Other Resources

Debugging Interfaces

Debugging (Unmanaged API Reference)