다음을 통해 공유


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

‘선언
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

.NET Framework Security

See Also

Reference

StandardVsModelingDiagramView Class

SetSelection Overload

Microsoft.VisualStudio.Modeling.Integration.Shell Namespace