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 a new instance of the ClassificationType
class.
public ClassificationType(string key)
Parameter | Type | Description |
---|---|---|
key | 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 | String | The string key that uniquely identifies the classification type. |
description | 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
- 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
- String:
The string key that uniquely identifies the classification type.
Methods
Equals(Object)
Determines whether the specified Object is equal to this instance.
public override bool Equals(object obj)
Parameter | Type | Description |
---|---|---|
obj | Object | The Object to compare with this instance. |
Returns
Exceptions
Type | Condition |
---|---|
NullReferenceException | The |
GetHashCode()
Returns a hash code for this object.
public override int GetHashCode()
Returns
- Int32:
An integer value that specifies a hash value for this object.
ToString()
Returns a String
that represents the current Object
.