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
reference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReferenceModelBusReference that identifies a particular ModelElement that needs to be selected
Return Value
See Also
SetSelection Overload
StandardVsModelingDiagramView Class
Microsoft.VisualStudio.Modeling.Integration.Shell Namespace
Return to top