New to Telerik UI for WPF? Start a free 30-day trial

Represents the classification type of a code element in the Telerik document model.

Definition

Namespace:Telerik.Windows.Documents.Model.Code

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class ClassificationType : IEquatable<ClassificationType>

Inheritance: objectClassificationType

Implements: IEquatable<ClassificationType>

Constructors

C#
public ClassificationType(string name)
Parameters:namestring

Properties

Gets the name of the classification type.

C#
public string Name { get; }
Property Value:

A string representing the name of the classification type.

Methods

Determines whether the specified ClassificationType is equal to the current instance.

C#
public bool Equals(ClassificationType other)
Parameters:otherClassificationType

The ClassificationType to compare with the current instance.

Returns:

bool

true if the specified ClassificationType is equal to the current instance; otherwise, false.

Implements: IEquatable<ClassificationType>.Equals(ClassificationType)

Determines whether the specified object is equal to the current instance of the ClassificationType.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with the current instance.

Returns:

bool

true if the specified object is equal to the current instance; otherwise, false.

Overrides: object.Equals(object)

Retrieves the hash code for the current instance of the ClassificationType class.

C#
public override int GetHashCode()
Returns:

int

An integer that represents the hash code for the current instance.

Overrides: object.GetHashCode()