Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse method
Collapse the table of content
Expand the table of content

IExpandCollapseProvider::Collapse method

Hides all child nodes, controls, or content of this element.

Syntax


HRESULT Collapse();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

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

Requirements

Minimum supported client

Windows XP [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Header

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

DLL

Uiautomationcore.dll

See also

IExpandCollapseProvider
UI Automation Providers Overview

 

 

Community Additions

ADD
Show:
© 2015 Microsoft