ShapeField.SetSelectionRange Method

Sets the selection to a range of child shape fields.

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

Syntax

'宣言
Public Overridable Sub SetSelectionRange ( _
    selection As SelectedShapesCollection, _
    anchorItem As DiagramItem, _
    toItem As DiagramItem _
)
'使用
Dim instance As ShapeField
Dim selection As SelectedShapesCollection
Dim anchorItem As DiagramItem
Dim toItem As DiagramItem

instance.SetSelectionRange(selection, _
    anchorItem, toItem)
public virtual void SetSelectionRange(
    SelectedShapesCollection selection,
    DiagramItem anchorItem,
    DiagramItem toItem
)
public:
virtual void SetSelectionRange(
    SelectedShapesCollection^ selection, 
    DiagramItem^ anchorItem, 
    DiagramItem^ toItem
)
public function SetSelectionRange(
    selection : SelectedShapesCollection, 
    anchorItem : DiagramItem, 
    toItem : DiagramItem
)

Parameters

Permissions

See Also

Reference

ShapeField Class

ShapeField Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace