Share via


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.0.dll)

Syntax

public override void SetSelection(
    ModelBusReference reference
)
public:
virtual void SetSelection(
    ModelBusReference^ reference
) override
override SetSelection : 
        reference:ModelBusReference -> unit
Public Overrides Sub SetSelection (
    reference As ModelBusReference
)

Parameters

Return Value

See Also

SetSelection Overload
StandardVsModelingDiagramView Class
Microsoft.VisualStudio.Modeling.Integration.Shell Namespace

Return to top