GetCompareInfo() public static method

public static GetCompareInfo ( String name ) : CompareInfo
name String
return CompareInfo
コード例 #1
0
 ////////////////////////////////////////////////////////////////////////
 //
 //  GetHashCode
 //
 //  Implements Object.GetHashCode().  Returns the hash code for the
 //  SortKey.  The hash code is guaranteed to be the same for
 //  SortKey A and B where A.Equals(B) is true.
 //
 ////////////////////////////////////////////////////////////////////////
 public override int GetHashCode()
 {
     return(CompareInfo.GetCompareInfo(
                this.localeName).GetHashCodeOfString(this.m_String, this.options));
 }
コード例 #2
0
ファイル: SortKey.cs プロジェクト: xwyangjshb/mono
 ////////////////////////////////////////////////////////////////////////
 //
 //  GetHashCode
 //
 //  Implements Object.GetHashCode().  Returns the hash code for the
 //  SortKey.  The hash code is guaranteed to be the same for
 //  SortKey A and B where A.Equals(B) is true.
 //
 ////////////////////////////////////////////////////////////////////////
 public override int GetHashCode()
 {
     return(CompareInfo.GetCompareInfo(_localeName).GetHashCodeOfString(_string, _options));
 }
コード例 #3
0
 ////////////////////////////////////////////////////////////////////////
 //
 //  GetHashCode
 //
 //  Implements Object.GetHashCode().  Returns the hash code for the
 //  SortKey.  The hash code is guaranteed to be the same for
 //  SortKey A and B where A.Equals(B) is true.
 //
 ////////////////////////////////////////////////////////////////////////
 public override int GetHashCode()
 {
     return(CompareInfo.GetCompareInfo(win32LCID).GetHashCodeOfString(m_String, options));
 }