Поделиться через


StandardVsModelingDiagramView.SetSelection Method (ModelBusReference)

Finds the ShapeElement corresponding to this reference and Selects it on the design surface. If the reference resolves to a ModelElement which is not a Shape, an attempt is made to find the corresponding Shape for it.

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

Syntax

'Декларация
Public Overrides Sub SetSelection ( _
    reference As ModelBusReference _
)
public override void SetSelection(
    ModelBusReference reference
)
public:
virtual void SetSelection(
    ModelBusReference^ reference
) override
abstract SetSelection : 
        reference:ModelBusReference -> unit 
override SetSelection : 
        reference:ModelBusReference -> unit 
public override function SetSelection(
    reference : ModelBusReference
)

Parameters

.NET Framework Security

See Also

Reference

StandardVsModelingDiagramView Class

SetSelection Overload

Microsoft.VisualStudio.Modeling.Integration.Shell Namespace