Compartilhar via


ShapeField.SetSelectionRange Method

Sets the selection to a range of child shape fields.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaração
Public Overridable Sub SetSelectionRange ( _
    selection As SelectedShapesCollection, _
    anchorItem As DiagramItem, _
    toItem As DiagramItem _
)
public virtual void SetSelectionRange(
    SelectedShapesCollection selection,
    DiagramItem anchorItem,
    DiagramItem toItem
)
public:
virtual void SetSelectionRange(
    SelectedShapesCollection^ selection, 
    DiagramItem^ anchorItem, 
    DiagramItem^ toItem
)
abstract SetSelectionRange : 
        selection:SelectedShapesCollection * 
        anchorItem:DiagramItem * 
        toItem:DiagramItem -> unit 
override SetSelectionRange : 
        selection:SelectedShapesCollection * 
        anchorItem:DiagramItem * 
        toItem:DiagramItem -> unit 
public function SetSelectionRange(
    selection : SelectedShapesCollection, 
    anchorItem : DiagramItem, 
    toItem : DiagramItem
)

Parameters

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace