VsValidationController.CreateValidationContext Method (IEnumerable<ModelElement>, ValidationCategories)
Provide a context class for the validation
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Dichiarazione
Protected Overrides Function CreateValidationContext ( _
subjects As IEnumerable(Of ModelElement), _
categories As ValidationCategories _
) As ValidationContext
protected override ValidationContext CreateValidationContext(
IEnumerable<ModelElement> subjects,
ValidationCategories categories
)
protected:
virtual ValidationContext^ CreateValidationContext(
IEnumerable<ModelElement^>^ subjects,
ValidationCategories categories
) override
abstract CreateValidationContext :
subjects:IEnumerable<ModelElement> *
categories:ValidationCategories -> ValidationContext
override CreateValidationContext :
subjects:IEnumerable<ModelElement> *
categories:ValidationCategories -> ValidationContext
protected override function CreateValidationContext(
subjects : IEnumerable<ModelElement>,
categories : ValidationCategories
) : ValidationContext
Parameters
- subjects
Type: System.Collections.Generic.IEnumerable<ModelElement>
- categories
Type: Microsoft.VisualStudio.Modeling.Validation.ValidationCategories
Return Value
Type: Microsoft.VisualStudio.Modeling.Validation.ValidationContext
.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.