ValidationMethodAttribute Constructor (ValidationCategories)
Apply this attribute to methods that you want to be called during validation.
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
‘선언
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.ValidationCategories
Specify 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