共用方式為


ModelBusView.SetSelection Method (ModelBusReference)

Selects the element identified by the reference in this ModelBusView

Namespace:  Microsoft.VisualStudio.Modeling.Integration
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)

Syntax

'宣告
Public MustOverride Sub SetSelection ( _
    reference As ModelBusReference _
)
public abstract void SetSelection(
    ModelBusReference reference
)
public:
virtual void SetSelection(
    ModelBusReference^ reference
) abstract
abstract SetSelection : 
        reference:ModelBusReference -> unit 
public abstract function SetSelection(
    reference : ModelBusReference
)

Parameters

.NET Framework Security

See Also

Reference

ModelBusView Class

SetSelection Overload

Microsoft.VisualStudio.Modeling.Integration Namespace