共用方式為


ModelReferenceEditor.PickReference 方法

使用模型選擇器來挑選參考

命名空間:  Microsoft.VisualStudio.Modeling.Integration.Picker
組件:  Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll 中)

語法

'宣告
Protected Overrides Function PickReference ( _
    context As ITypeDescriptorContext, _
    editorService As IWindowsFormsEditorService, _
    store As Store, _
    reference As ModelBusReference _
) As ModelBusReference
protected override ModelBusReference PickReference(
    ITypeDescriptorContext context,
    IWindowsFormsEditorService editorService,
    Store store,
    ModelBusReference reference
)

參數

傳回值

類型:Microsoft.VisualStudio.Modeling.Integration.ModelBusReference

.NET Framework 安全性

請參閱

參考

ModelReferenceEditor 類別

Microsoft.VisualStudio.Modeling.Integration.Picker 命名空間