Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.