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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.11.0.dll)
Syntax
'Declaration
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
)
public:
static PickerDialog^ CreateDialogNoFixup(
Type^ modelBrowserType,
IServiceProvider^ serviceProvider,
ModelBusReference^ modelBusReference,
IEnumerable<PickerMetadataBaseAttribute^>^ metadata
)
static member CreateDialogNoFixup :
modelBrowserType:Type *
serviceProvider:IServiceProvider *
modelBusReference:ModelBusReference *
metadata:IEnumerable<PickerMetadataBaseAttribute> -> PickerDialog
public static function CreateDialogNoFixup(
modelBrowserType : Type,
serviceProvider : IServiceProvider,
modelBusReference : ModelBusReference,
metadata : IEnumerable<PickerMetadataBaseAttribute>
) : PickerDialog
Parameters
- modelBrowserType
Type: Type
- serviceProvider
Type: IServiceProvider
- modelBusReference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
- metadata
Type: 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. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Modeling.Integration.Shell.Picker Namespace