Compartir a través de


ValidationContext.CustomCategories Property

Gets the custom validation strings for the validation context.

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

Syntax

'Declaración
Public ReadOnly Property CustomCategories As ReadOnlyCollection(Of String)
    Get
public ReadOnlyCollection<string> CustomCategories { get; }
public:
property ReadOnlyCollection<String^>^ CustomCategories {
    ReadOnlyCollection<String^>^ get ();
}
member CustomCategories : ReadOnlyCollection<string>
function get CustomCategories () : ReadOnlyCollection<String>

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<String>
Returns a read-only collection of strings.

Remarks

The strings were specified with the ValidateCustom method.

The strings are the custom categories.

.NET Framework Security

See Also

Reference

ValidationContext Class

Microsoft.VisualStudio.Modeling.Validation Namespace