Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Provide a context class for the validation
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
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: 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.