Aracılığıyla paylaş


PickerDialog.CreateDialogNoFixup<T> Yöntem (IServiceProvider, ModelBusReference, IEnumerable<PickerMetadataBaseAttribute>)

Bir PickerDialog oluşturur ve onu parametrelere dayalı başlatır.

Ad alanı:  Microsoft.VisualStudio.Modeling.Integration.Shell.Picker
Derleme:  Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.11.0.dll içinde)

Sözdizimi

'Bildirim
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

Tür Parametreleri

  • T

Parametreler

Dönüş Değeri

Tür: Microsoft.VisualStudio.Modeling.Integration.Shell.Picker.PickerDialog

Özel Durumlar

Exception Koşul
ArgumentNullException

ModelBus veya modelBrowserType null olduğunda.

NotSupportedException

Ne zaman modelBrowserType de IModelBrowser uygulayan bir wpf control–based sınıf değil.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

PickerDialog Sınıf

CreateDialogNoFixup Fazla Yük

Microsoft.VisualStudio.Modeling.Integration.Shell.Picker Ad Alanı