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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.0.dll)
Syntax
public override void SetSelection(
IEnumerable<ModelBusReference> references
)
public:
virtual void SetSelection(
IEnumerable<ModelBusReference^>^ references
) override
override SetSelection :
references:IEnumerable<ModelBusReference> -> unit
Public Overrides Sub SetSelection (
references As IEnumerable(Of ModelBusReference)
)
Parameters
references
Type: System.Collections.Generic.IEnumerable<ModelBusReference>ModelBusReference collection that identifies ModelElements or Shapes that needs to be selected
Return Value
See Also
SetSelection Overload
StandardVsModelingDiagramView Class
Microsoft.VisualStudio.Modeling.Integration.Shell Namespace
Return to top