Partager via


PickerDialog.CreateDialogNoFixup, méthode (Type, 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 ( _
    modelBrowserType As Type, _
    serviceProvider As IServiceProvider, _
    modelBusReference As ModelBusReference, _
    metadata As IEnumerable(Of PickerMetadataBaseAttribute) _
) As PickerDialog
public static PickerDialog CreateDialogNoFixup(
    Type modelBrowserType,
    IServiceProvider serviceProvider,
    ModelBusReference modelBusReference,
    IEnumerable<PickerMetadataBaseAttribute> metadata
)

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