ISharePointProjectMember.CollapseChildItems Method

Ensures that all child items of this ISharePointProjectMember are collapsed in Solution Explorer.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Sub CollapseChildItems
void CollapseChildItems()

Remarks

This method iterates through all child items of this ISharePointProjectMember instance in Solution Explorer and sets their IsExpanded property to false.

This method does not change value of the IsExpanded property for this ISharePointProjectMember instance.

.NET Framework Security

See Also

Reference

ISharePointProjectMember Interface

Microsoft.VisualStudio.SharePoint Namespace