In This Article

ClassificationType Class

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

public class ClassificationType : IClassificationType, IKeyedObject
Inheritance:
System.Object Object
Implements:
IClassificationType IKeyedObject

Constructors

ClassificationType(String)

Initializes a new instance of the ClassificationType class.

public ClassificationType(string key)
Parameter Type Description
key System.String

The string key that uniquely identifies the classification type.

ClassificationType(String, String)

Initializes a new instance of the ClassificationType class.

public ClassificationType(string key, string description)
Parameter Type Description
key System.String

The string key that uniquely identifies the classification type.

description System.String

The description of the classification type.

Properties

Description

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

public string Description { get; }

Property Value

System.String:

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

Key

Gets the string key that uniquely identifies the classification type.

public string Key { get; }

Property Value

System.String:

The string key that uniquely identifies the classification type.

Methods

Equals(Object)

Determines whether the specified System.Object is equal to this instance.

public override bool Equals(object obj)
Parameter Type Description
obj System.Object

The System.Object to compare with this instance.

Returns

System.Boolean:

true if the specified System.Object is equal to this instance; otherwise, false.

Exceptions

Type Condition
System.NullReferenceException

The obj parameter is null.

GetHashCode()

Returns a hash code for this object.

public override int GetHashCode()

Returns

System.Int32:

An integer value that specifies a hash value for this object.

ToString()

Returns a String that represents the current Object.

public override string ToString()

Returns

System.String:

A String that represents the current Object.

Inherited Members

  • System.Object.Equals(System.Object, System.Object)
  • System.Object.ReferenceEquals(System.Object, System.Object)
  • System.Object.GetType()
  • System.Object.MemberwiseClone()