Partager via


PickerDialog.CreateDialogNoFixup<T>, méthode (IServiceProvider, ModelBusReference, IEnumerable<PickerMetadataBaseAttribute>)

Crée un PickerDialog et l'initialise en fonction de les paramètres.

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

Syntaxe

'Déclaration
Public Shared Function CreateDialogNoFixup(Of T As {Control, IModelBrowser}) ( _
    serviceProvider As IServiceProvider, _
    modelBusReference As ModelBusReference, _
    metadata As IEnumerable(Of PickerMetadataBaseAttribute) _
) As PickerDialog
public static PickerDialog CreateDialogNoFixup<T>(
    IServiceProvider serviceProvider,
    ModelBusReference modelBusReference,
    IEnumerable<PickerMetadataBaseAttribute> metadata
)
where T : Control, IModelBrowser

Paramètres de type

  • T

Paramètres

Valeur de retour

Type : Microsoft.VisualStudio.Modeling.Integration.Shell.Picker.PickerDialog

Exceptions

Exception Condition
ArgumentNullException

Lorsque le modelBus ou le modelBrowserType est null.

NotSupportedException

Lorsque le modelBrowserType n'est pas une classe de contrôle basée sur WPF qui implémente IModelBrowser également.

Sécurité .NET Framework

Voir aussi

Référence

PickerDialog Classe

CreateDialogNoFixup, surcharge

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