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.
Apply this attribute to methods that you want to be called during validation.
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 ( _
categories As ValidationCategories _
)
public ValidationMethodAttribute(
ValidationCategories categories
)
public:
ValidationMethodAttribute(
ValidationCategories categories
)
new :
categories:ValidationCategories -> ValidationMethodAttribute
public function ValidationMethodAttribute(
categories : ValidationCategories
)
Parameters
categories
Type: Microsoft.VisualStudio.Modeling.Validation.ValidationCategoriesSpecify when you want the validation method to be called.
.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.
See Also
Reference
ValidationMethodAttribute Class