In This Article

ClassificationType Class

Represents the default implementation of a class that represents a classification type.

public class ClassificationType : IClassificationType, IKeyedObject
Inheritance:
object object
Implements:
IClassificationType IKeyedObject

Constructors

ClassificationType(string)

Initializes an instance of the class.

public ClassificationType(string key)
Parameter Type Description
key string

The string key that uniquely identifies the classification type.

ClassificationType(string, string)

Represents the default implementation of a class that represents a classification type.

public ClassificationType(string key, string description)
Parameter Type Description
key string

The string key that uniquely identifies the classification type.

description string

The description of the classification type.

Properties

Description

The description of the classification type, which is displayed in the user interface.

public string Description { get; }

Property Value

string

Key

The string key that uniquely identifies the classification type.

public string Key { get; }

Property Value

string

Methods

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)
Parameter Type Description
obj object

The object to compare with the current object.

Returns

bool:

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

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int:

A hash code for the current object.

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Inherited Members

Extension Methods