다음을 통해 공유


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

.NET Framework Security

See Also

Reference

ValidationMethodAttribute Class

ValidationMethodAttribute Overload

Microsoft.VisualStudio.Modeling.Validation Namespace