Aracılığıyla paylaş


VsValidationContext Oluşturucu (array<String , IEnumerable<ModelElement>, IServiceProvider, Type)

Oluşturucu.

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

Sözdizimi

'Bildirim
Public Sub New ( _
    customCategories As String(), _
    subjects As IEnumerable(Of ModelElement), _
    serviceProvider As IServiceProvider, _
    modelExplorerToolWindowType As Type _
)
public VsValidationContext(
    string[] customCategories,
    IEnumerable<ModelElement> subjects,
    IServiceProvider serviceProvider,
    Type modelExplorerToolWindowType
)

Parametreler

  • customCategories
    Tür: array<System.String[]
    Özel belirtilen dize listesi.Bu doğrulama yöntemi ile onaylanmasına izin verilen dize verir.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

VsValidationContext Sınıf

VsValidationContext Fazla Yük

Microsoft.VisualStudio.Modeling.Shell Ad Alanı