Partager via


ClassificationTypeAttribute.ClassificationTypeNames Property

Gets or sets the name of this classification type.

Namespace:  Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Declaration
Public Property ClassificationTypeNames As String
public string ClassificationTypeNames { get; set; }
public:
property String^ ClassificationTypeNames {
    String^ get ();
    void set (String^ value);
}
member ClassificationTypeNames : string with get, set
function get ClassificationTypeNames () : String 
function set ClassificationTypeNames (value : String)

Property Value

Type: String
The name of the type.

Exceptions

Exception Condition
ArgumentNullException

The value is nulla null reference (Nothing in Visual Basic).

ArgumentOutOfRangeException

The value is an empty string.

Remarks

The name must be unique among all other classification types. It cannot be nulla null reference (Nothing in Visual Basic) or an empty string. All classification type names are case-sensitive.

.NET Framework Security

See Also

Reference

ClassificationTypeAttribute Class

Microsoft.VisualStudio.Text.Classification Namespace