Share via


ValidationContext Constructor (array<String , IEnumerable<ModelElement>)

Ctor

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

Syntax

'Declaration
Public Sub New ( _
    customCategories As String(), _
    subjects As IEnumerable(Of ModelElement) _
)
public ValidationContext(
    string[] customCategories,
    IEnumerable<ModelElement> subjects
)
public:
ValidationContext(
    array<String^>^ customCategories, 
    IEnumerable<ModelElement^>^ subjects
)
new : 
        customCategories:string[] * 
        subjects:IEnumerable<ModelElement> -> ValidationContext
public function ValidationContext(
    customCategories : String[], 
    subjects : IEnumerable<ModelElement>
)

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

ValidationContext Class

ValidationContext Overload

Microsoft.VisualStudio.Modeling.Validation Namespace