ValidationMethodAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class definition for C# custom attribute ValidationMethod. This is used for marking methnods as Validator functions
public ref class ValidationMethodAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)]
public sealed class ValidationMethodAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)>]
type ValidationMethodAttribute = class
inherit Attribute
Public NotInheritable Class ValidationMethodAttribute
Inherits Attribute
- Inheritance
-
ValidationMethodAttribute
- Attributes
Constructors
ValidationMethodAttribute() |
Constructor for class ValidationMethodAttribute. Specifies a user-validation method by default |
ValidationMethodAttribute(ValidationCategories) |
Constructor for class ValidationMethodAttribute. Specifies a user-validation method by default |
Properties
Categories |
The category of this method |
CustomCategory |
Get/Set custom string to support custom validation. |