StandardVsModelingDiagramView.SetSelection Method (IEnumerable<ModelBusReference>)
Finds the ShapeElement corresponding to each of the references and Selects all of them on the design surface. If any 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 ( _
references As IEnumerable(Of ModelBusReference) _
)
public override void SetSelection(
IEnumerable<ModelBusReference> references
)
public:
virtual void SetSelection(
IEnumerable<ModelBusReference^>^ references
) override
abstract SetSelection :
references:IEnumerable<ModelBusReference> -> unit
override SetSelection :
references:IEnumerable<ModelBusReference> -> unit
public override function SetSelection(
references : IEnumerable<ModelBusReference>
)
Parameters
- references
Type: System.Collections.Generic.IEnumerable<ModelBusReference>
ModelBusReference collection that identifies ModelElements or Shapes 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.