Share via


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

Constructor.

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

Syntax

'Declaration
Public Sub New ( _
    customCategories As String(), _
    subjects As IEnumerable(Of ModelElement), _
    serviceProvider As IServiceProvider, _
    modelExplorerToolWindowType As Type _
)

Parameters

  • customCategories
    Type: array<String[]

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

  • subjects
    Type: IEnumerable<ModelElement>

    object to be validated

  • serviceProvider
    Type: IServiceProvider
  • modelExplorerToolWindowType
    Type: Type

.NET Framework Security

See Also

Reference

VsValidationContext Class

VsValidationContext Overload

Microsoft.VisualStudio.Modeling.Shell Namespace