SelectedShapesCollection.Set Method (DiagramItemCollection)
Replaces the current selection with a new selection.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
Public Sub Set ( _
diagramItems As DiagramItemCollection _
)
public void Set(
DiagramItemCollection diagramItems
)
public:
void Set(
DiagramItemCollection^ diagramItems
)
member Set :
diagramItems:DiagramItemCollection -> unit
public function Set(
diagramItems : DiagramItemCollection
)
Parameters
- diagramItems
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection
The collection of DiagramItems that is to replace the current selection.
Remarks
If the DiagramItemCollection is null, then the selection is cleared. Clears deferred selection before taking any actions.
.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.