NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CompareInfo.GetSortKey (String, CompareOptions)

Gets the sort key for the string with the specified flags.

[Visual Basic]
Overloads Overridable Public Function GetSortKey( _
   ByVal source As String, _
   ByVal options As CompareOptions _
) As SortKey
[C#]
public virtual SortKey GetSortKey(
   string source,
   CompareOptions options
);
[C++]
public: virtual SortKey* GetSortKey(
   String* source,
   CompareOptions options
);
[JScript]
public function GetSortKey(
   source : String,
   options : CompareOptions
) : SortKey;

Parameters

source
The string from which the sort key is to be obtained.
options
The flags are the following data members: IgnoreCase, IgnoreKanaType, IgnoreNonSpace, IgnoreSymbols, IgnoreWidth, and StringSort.

Return Value

The SortKey for string.

See Also

CompareInfo Class | CompareInfo Members | System.Globalization Namespace | CompareInfo.GetSortKey Overload List