ISharePointProjectMember.CollapseChildItems Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.