SelectedShapesCollection.TopLevelItems Property
Gets the top level items in the selection.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public ReadOnly Property TopLevelItems As DiagramItemCollection
public DiagramItemCollection TopLevelItems { get; }
public:
property DiagramItemCollection^ TopLevelItems {
DiagramItemCollection^ get ();
}
member TopLevelItems : DiagramItemCollection with get
function get TopLevelItems () : DiagramItemCollection
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection
.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.