Поделиться через


IReferencePicker.PickModelReference - метод (ITypeDescriptorContext, IWindowsFormsEditorService, Store, ModelBusReference)

Выбирает ссылку, используя обозреватель моделей, и отображает ее. Поддерживает автоматическую адресную привязку в хранилище.

Пространство имен:  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 - пространство имен