Aracılığıyla paylaş


PickerDialog.CreateDialog<T> Yöntem (Store, 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 CreateDialog(Of T As {Control, IModelBrowser}) ( _
    store As Store, _
    modelBusReference As ModelBusReference, _
    metadata As IEnumerable(Of PickerMetadataBaseAttribute) _
) As PickerDialog
public static PickerDialog CreateDialog<T>(
    Store store,
    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

CreateDialog Fazla Yük

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