![]() |
||||
|
This article explains a problem that happens when a Visual Studio 2005 add-in or macro tries to collapse the nodes of the Solution Explorer. Cause This is a bug of Visual Studio 2005. More Information Steps to reproduce the problem:
Dim colUIHierarchyItems As UIHierarchyItems
colUIHierarchyItems = DTE.ToolWindows.SolutionExplorer.UIHierarchyItems
colUIHierarchyItems = colUIHierarchyItems.Item("WindowsApplication1").UIHierarchyItems
colUIHierarchyItems = colUIHierarchyItems.Item("NewFolder1").UIHierarchyItems
colUIHierarchyItems = colUIHierarchyItems.Item("WindowsApplication1").UIHierarchyItems
colUIHierarchyItems.Expanded = False
If colUIHierarchyItems.Expanded = True Then
MessageBox.Show("Error")
End If
Go back to the 'Resources for Visual Studio .NET extensibility' section for more articles like this
|
|||||||||||||||||||||||||||||||||||||||||||||||||