Class
ClassificationType

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:

cs-api-definition
public class ClassificationType : IEquatable<ClassificationType>

Inheritance: objectClassificationType

Implements: IEquatable<ClassificationType>

Constructors

ClassificationType(string)

Declaration

cs-api-definition
public ClassificationType(string name)

Parameters

name

string

Properties

Name

Gets the name of the classification type.

Declaration

cs-api-definition
public string Name { get; }

Property Value

string

A string representing the name of the classification type.

Methods

Equals(ClassificationType)

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

Declaration

cs-api-definition
public bool Equals(ClassificationType other)

Parameters

other

ClassificationType

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)

Equals(object)

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

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

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)

GetHashCode()

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

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

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

Overrides object.GetHashCode()