ConfigurationKeyComparer 类

定义

用于对配置键进行排序的 IComparer 实现。IComparer implementation used to order configuration keys.

public ref class ConfigurationKeyComparer : System::Collections::Generic::IComparer<System::String ^>
public class ConfigurationKeyComparer : System.Collections.Generic.IComparer<string>
type ConfigurationKeyComparer = class
    interface IComparer<string>
Public Class ConfigurationKeyComparer
Implements IComparer(Of String)
继承
ConfigurationKeyComparer
实现

构造函数

ConfigurationKeyComparer()

属性

Instance

默认实例。The default instance.

方法

Compare(String, String)

比较两个字符串。Compares two strings.

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于