Compartilhar via


ValidationMethodAttribute.CustomCategory Property

Gets or sets the custom validation category, which can be empty.

Namespace:  Microsoft.VisualStudio.Modeling.Validation
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaração
Public Property CustomCategory As String
    Get
    Set
public string CustomCategory { get; set; }
public:
property String^ CustomCategory {
    String^ get ();
    void set (String^ value);
}
member CustomCategory : string with get, set
function get CustomCategory () : String
function set CustomCategory (value : String)

Property Value

Type: System.String
The custom category set by the validation method attribute.

Remarks

For more information, see [redirect] Walkthrough: Adding Custom Validation to a Domain Model.

.NET Framework Security

See Also

Reference

ValidationMethodAttribute Class

Microsoft.VisualStudio.Modeling.Validation Namespace