VsValidationContext Constructor (array<String , ModelElement, IServiceProvider, Type)

Constructor.

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

Syntax

'Declaration
Public Sub New ( _
    customCategories As String(), _
    subject As ModelElement, _
    serviceProvider As IServiceProvider, _
    modelExplorerToolWindowType As Type _
)
public VsValidationContext(
    string[] customCategories,
    ModelElement subject,
    IServiceProvider serviceProvider,
    Type modelExplorerToolWindowType
)
public:
VsValidationContext(
    array<String^>^ customCategories, 
    ModelElement^ subject, 
    IServiceProvider^ serviceProvider, 
    Type^ modelExplorerToolWindowType
)
new : 
        customCategories:string[] * 
        subject:ModelElement * 
        serviceProvider:IServiceProvider * 
        modelExplorerToolWindowType:Type -> VsValidationContext
public function VsValidationContext(
    customCategories : String[], 
    subject : ModelElement, 
    serviceProvider : IServiceProvider, 
    modelExplorerToolWindowType : Type
)

Parameters

  • customCategories
    Type: array<System.String[]

    A list of custom specified string. This allows the validation method with the given string to be validated.

.NET Framework Security

See Also

Reference

VsValidationContext Class

VsValidationContext Overload

Microsoft.VisualStudio.Modeling.Shell Namespace