ITcSmTreeItem::DeleteChild

Deletes a direct child by its name. For simple Tree Items that do not support this operation, E_NOTIMPL is returned.

Signature

HRESULT DeleteChild(BSTR bstrName);

Parameter

Name

Type

Description

bstrName

BSTR

[in] Name of the child to be deleted.

Return value

Name

Type

Description

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.

Error codes