ModelCollationComparer.GetHashCode 方法 (IList<String>)
用作所提供的 String 类型列表的哈希函数。
命名空间: Microsoft.Data.Schema.SchemaModel
程序集: Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public Function GetHashCode ( _
obj As IList(Of String) _
) As Integer
public int GetHashCode(
IList<string> obj
)
public:
virtual int GetHashCode(
IList<String^>^ obj
) sealed
abstract GetHashCode :
obj:IList<string> -> int
override GetHashCode :
obj:IList<string> -> int
public final function GetHashCode(
obj : IList<String>
) : int
参数
- obj
类型:System.Collections.Generic.IList<String>
一个类型为 String 的 IList<T> 对象。
返回值
类型:System.Int32
用于所提供的 String 的 Int32 哈希代码。
实现
IEqualityComparer<T>.GetHashCode(T)
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。