VsValidationContext Constructor ([], 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 ( _
    customCategories As String(), _
    subjects As IEnumerable(Of ModelElement), _
    serviceProvider As IServiceProvider, _
    modelExplorerToolWindowType As Type _
)
'使用
Dim customCategories As String()
Dim subjects As IEnumerable(Of ModelElement)
Dim serviceProvider As IServiceProvider
Dim modelExplorerToolWindowType As Type

Dim instance As New VsValidationContext(customCategories, _
    subjects, serviceProvider, modelExplorerToolWindowType)
public VsValidationContext(
    string[] customCategories,
    IEnumerable<ModelElement> subjects,
    IServiceProvider serviceProvider,
    Type modelExplorerToolWindowType
)
public:
VsValidationContext(
    array<String^>^ customCategories, 
    IEnumerable<ModelElement^>^ subjects, 
    IServiceProvider^ serviceProvider, 
    Type^ modelExplorerToolWindowType
)
public function VsValidationContext(
    customCategories : String[], 
    subjects : IEnumerable<ModelElement>, 
    serviceProvider : IServiceProvider, 
    modelExplorerToolWindowType : Type
)

Parameters

  • customCategories
    Type: []

Permissions

See Also

Reference

VsValidationContext Class

VsValidationContext Members

VsValidationContext Overload

Microsoft.VisualStudio.Modeling.Shell Namespace