Share via


IExpandCollapseProvider::Collapse Method

Hides all nodes, controls, or content that are descendants of the control.

Syntax

HRESULT Collapse(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This is a blocking method that returns after the control has been collapsed.

See Also

UI Automation Providers Overview