Share via


ValidationContext.CustomCategories Property

Gets the custom validation strings for the validation context.

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

Syntax

'Declaration
Public ReadOnly Property CustomCategories As ReadOnlyCollection(Of String)
public ReadOnlyCollection<string> CustomCategories { get; }
public:
property ReadOnlyCollection<String^>^ CustomCategories {
    ReadOnlyCollection<String^>^ get ();
}
member CustomCategories : ReadOnlyCollection<string> with get
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