IReferencePicker.PickModelReference 方法 (ITypeDescriptorContext, IWindowsFormsEditorService, Store, ModelBusReference)

使用模型浏览器选择引用并显示该引用。 支持存储的自动 fixup。

命名空间:  Microsoft.VisualStudio.Modeling.Integration.Picker.Hosting
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll 中)

语法

声明
Function PickModelReference ( _
    context As ITypeDescriptorContext, _
    editorService As IWindowsFormsEditorService, _
    store As Store, _
    reference As ModelBusReference _
) As ModelBusReference
ModelBusReference PickModelReference(
    ITypeDescriptorContext context,
    IWindowsFormsEditorService editorService,
    Store store,
    ModelBusReference reference
)

参数

返回值

类型:Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
选取器选择的引用

备注

使用中的方法演示 UITypeEditor 的选择器。

.NET Framework 安全性

请参阅

参考

IReferencePicker 接口

PickModelReference 重载

Microsoft.VisualStudio.Modeling.Integration.Picker.Hosting 命名空间