PickerDialog.CreateDialogNoFixup<T> Method (IServiceProvider, ModelBusReference, IEnumerable<PickerMetadataBaseAttribute>)

Creates a PickerDialog and initializes it based on the parameters.

Namespace:  Microsoft.VisualStudio.Modeling.Integration.Shell.Picker
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.11.0.dll)

Syntax

'Declaration
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
public:
generic<typename T>
where T : Control, IModelBrowser 
static PickerDialog^ CreateDialogNoFixup(
    IServiceProvider^ serviceProvider, 
    ModelBusReference^ modelBusReference, 
    IEnumerable<PickerMetadataBaseAttribute^>^ metadata
)
static member CreateDialogNoFixup : 
        serviceProvider:IServiceProvider * 
        modelBusReference:ModelBusReference * 
        metadata:IEnumerable<PickerMetadataBaseAttribute> -> PickerDialog   when 'T : Control and IModelBrowser
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

  • serviceProvider
    Type: IServiceProvider

Return Value

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

Exceptions

Exception Condition
ArgumentNullException

When modelBus or modelBrowserType is null.

NotSupportedException

When modelBrowserType is not a WPF control–based class that implements IModelBrowser also.

.NET Framework Security

See Also

Reference

PickerDialog Class

CreateDialogNoFixup Overload

Microsoft.VisualStudio.Modeling.Integration.Shell.Picker Namespace