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
'宣言
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
- 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.