共用方式為


ModelReferenceEditor.PickReference 方法 (ITypeDescriptorContext, IWindowsFormsEditorService, Store, ModelBusReference)

 

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

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

語法

protected override ModelBusReference PickReference(
    ITypeDescriptorContext context,
    IWindowsFormsEditorService editorService,
    Store store,
    ModelBusReference reference
)
protected:
virtual ModelBusReference^ PickReference(
    ITypeDescriptorContext^ context,
    IWindowsFormsEditorService^ editorService,
    Store^ store,
    ModelBusReference^ reference
) override
override PickReference : 
        context:ITypeDescriptorContext *
        editorService:IWindowsFormsEditorService *
        store:Store *
        reference:ModelBusReference -> ModelBusReference
Protected Overrides Function PickReference (
    context As ITypeDescriptorContext,
    editorService As IWindowsFormsEditorService,
    store As Store,
    reference As ModelBusReference
) As ModelBusReference

參數

傳回值

Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference

請參閱

ModelReferenceEditor 類別
Microsoft.VisualStudio.Modeling.Integration.Picker 命名空間

回到頁首