Partager via


StandardVsModelingDiagramView.SetSelection Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method SetSelection(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. (Overrides ModelBusView.SetSelection(ModelBusReference).)
Public method SetSelection(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. (Overrides ModelBusView.SetSelection(IEnumerable<ModelBusReference>).)

Top

See Also

Reference

StandardVsModelingDiagramView Class

Microsoft.VisualStudio.Modeling.Integration.Shell Namespace