ValidationContext Constructor (array<String , IEnumerable<ModelElement>)
Ctor
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.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<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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.