ModelCollationComparer.GetHashCode 方法 (String)
做為所提供之 String 的雜湊函式。
命名空間: Microsoft.Data.Schema.SchemaModel
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Public Function GetHashCode ( _
obj As String _
) As Integer
public int GetHashCode(
string obj
)
public:
virtual int GetHashCode(
String^ obj
) sealed
abstract GetHashCode :
obj:string -> int
override GetHashCode :
obj:string -> int
public final function GetHashCode(
obj : String
) : int
參數
- obj
型別:System.String
String 物件。
傳回值
型別:System.Int32
所提供之 String 的 Int32 雜湊程式碼。
實作
IEqualityComparer<T>.GetHashCode(T)
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。