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

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

Parameters

  • customCategories
    Type: []

Permissions

See Also

Reference

VsValidationContext Class

VsValidationContext Members

VsValidationContext Overload

Microsoft.VisualStudio.Modeling.Shell Namespace