PickerDialog.CreateDialogNoFixup Method (Type, 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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.0.dll)
Syntax
public static PickerDialog CreateDialogNoFixup(
Type modelBrowserType,
IServiceProvider serviceProvider,
ModelBusReference modelBusReference,
IEnumerable<PickerMetadataBaseAttribute> metadata = null
)
public:
static PickerDialog^ CreateDialogNoFixup(
Type^ modelBrowserType,
IServiceProvider^ serviceProvider,
ModelBusReference^ modelBusReference,
IEnumerable<PickerMetadataBaseAttribute^>^ metadata = null
)
static member CreateDialogNoFixup :
modelBrowserType:Type *
serviceProvider:IServiceProvider *
modelBusReference:ModelBusReference *
metadata:IEnumerable<PickerMetadataBaseAttribute> = null -> PickerDialog
Public Shared Function CreateDialogNoFixup (
modelBrowserType As Type,
serviceProvider As IServiceProvider,
modelBusReference As ModelBusReference,
metadata As IEnumerable(Of PickerMetadataBaseAttribute)
) As PickerDialog
Parameters
- modelBrowserType
Type: System.Type
- serviceProvider
Type: System.IServiceProvider
- modelBusReference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
- metadata
Type: System.Collections.Generic.IEnumerable<PickerMetadataBaseAttribute>
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. |
See Also
CreateDialogNoFixup Overload
PickerDialog Class
Microsoft.VisualStudio.Modeling.Integration.Shell.Picker Namespace
Return to top