Partager via


IReferencePicker.PickModelReference, méthode (ITypeDescriptorContext, IWindowsFormsEditorService, Store, ModelBusReference)

Choisit une référence à l'aide de le navigateur de modèle et l'affiche.Prend en charge des corrections automatiques dans la banque.

Espace de noms :  Microsoft.VisualStudio.Modeling.Integration.Picker.Hosting
Assembly :  Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0 (dans Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0.dll)

Syntaxe

'Déclaration
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
)

Paramètres

Valeur de retour

Type : Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
La référence sélectionnée par le sélecteur

Notes

La méthode utilisée pour afficher le sélecteur dans UITypeEditor

Sécurité .NET Framework

Voir aussi

Référence

IReferencePicker Interface

PickModelReference, surcharge

Microsoft.VisualStudio.Modeling.Integration.Picker.Hosting, espace de noms