VsValidationContext Constructor (ValidationCategories, IEnumerable<ModelElement>, IServiceProvider, Type)

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Public Sub New ( _
    categories As ValidationCategories, _
    subjects As IEnumerable(Of ModelElement), _
    serviceProvider As IServiceProvider, _
    modelExplorerToolWindowType As Type _
)
'使用
Dim categories As ValidationCategories
Dim subjects As IEnumerable(Of ModelElement)
Dim serviceProvider As IServiceProvider
Dim modelExplorerToolWindowType As Type

Dim instance As New VsValidationContext(categories, _
    subjects, serviceProvider, modelExplorerToolWindowType)
public VsValidationContext(
    ValidationCategories categories,
    IEnumerable<ModelElement> subjects,
    IServiceProvider serviceProvider,
    Type modelExplorerToolWindowType
)
public:
VsValidationContext(
    ValidationCategories categories, 
    IEnumerable<ModelElement^>^ subjects, 
    IServiceProvider^ serviceProvider, 
    Type^ modelExplorerToolWindowType
)
public function VsValidationContext(
    categories : ValidationCategories, 
    subjects : IEnumerable<ModelElement>, 
    serviceProvider : IServiceProvider, 
    modelExplorerToolWindowType : Type
)

Parameters

Permissions

See Also

Reference

VsValidationContext Class

VsValidationContext Members

VsValidationContext Overload

Microsoft.VisualStudio.Modeling.Shell Namespace