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
'Declaração
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
- reference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
ModelBusReference that identifies a particular ModelElement that needs to be selected
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.