ListField.SetSelectionRange Method
Sets the selection to a range of subfields
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Overrides Sub SetSelectionRange ( _
selection As SelectedShapesCollection, _
anchorItem As DiagramItem, _
toItem As DiagramItem _
)
public override void SetSelectionRange(
SelectedShapesCollection selection,
DiagramItem anchorItem,
DiagramItem toItem
)
public:
virtual void SetSelectionRange(
SelectedShapesCollection^ selection,
DiagramItem^ anchorItem,
DiagramItem^ toItem
) override
abstract SetSelectionRange :
selection:SelectedShapesCollection *
anchorItem:DiagramItem *
toItem:DiagramItem -> unit
override SetSelectionRange :
selection:SelectedShapesCollection *
anchorItem:DiagramItem *
toItem:DiagramItem -> unit
public override function SetSelectionRange(
selection : SelectedShapesCollection,
anchorItem : DiagramItem,
toItem : DiagramItem
)
Parameters
selection
Type: Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollectionThe selection to update.
anchorItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemThe DiagramItem anchor in the selection.
toItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemThe DiagramItem to which to extend the selection, starting from the anchor.
.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.