HierarchyService.Collapse(HierarchyInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, collapses the specified node.
public:
abstract void Collapse(Microsoft::Web::Management::Client::HierarchyInfo ^ hierarchyInfo);
public abstract void Collapse (Microsoft.Web.Management.Client.HierarchyInfo hierarchyInfo);
abstract member Collapse : Microsoft.Web.Management.Client.HierarchyInfo -> unit
Parameters
- hierarchyInfo
- HierarchyInfo
The HierarchyInfo object to collapse.
Remarks
This method programmatically collapses the specified node. This method enables you to create a customized Collapse method to perform actions such as prohibiting the collapse of specific types of nodes.
For an example of this method, see the example for the HierarchyService class.