Share via


ValidationContext.CustomCategories Property

Gets the custom validation strings for the validation context.

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

Syntax

'Declaration
Public ReadOnly Property CustomCategories As ReadOnlyCollection(Of String)
'Usage
Dim instance As ValidationContext 
Dim value As ReadOnlyCollection(Of String)

value = instance.CustomCategories
public ReadOnlyCollection<string> CustomCategories { get; }
public:
property ReadOnlyCollection<String^>^ CustomCategories {
    ReadOnlyCollection<String^>^ get ();
}
public 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

ValidationContext Members

Microsoft.VisualStudio.Modeling.Validation Namespace