Aracılığıyla paylaş


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

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.

Notlar

Mağaza başvuru düzeltme ve hizmet sağlayıcısı olarak kullanılır.

.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ı