C# Class System.Xml.Xsl.Runtime.XmlCollation

Exibir arquivo Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
Compare int
Create XmlCollation
Create XmlCollation
CreateSortKey XmlSortKey
GetLangID int
GetObjectData void
IndexOf int
IsPrefix bool
IsSuffix bool
MakeLCID int
XmlCollation System.Collections
XmlCollation System.Collections

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int

Private Methods

Method Description
Compare ( string str1, string str2 ) : int

Compare two strings with each other. Return <0 if str1 sorts before str2, 0 if they're equal, and >0 if str1 sorts after str2.

Create ( string collationLiteral ) : XmlCollation
Create ( string collationLiteral, bool throwOnError ) : XmlCollation
CreateSortKey ( string s ) : XmlSortKey

Create a sort key that can be compared quickly with other keys.

GetLangID ( int lcid ) : int
GetObjectData ( BinaryWriter writer ) : void
IndexOf ( string str1, string str2 ) : int

Return the index of str1 in str2, or -1 if str1 is not a substring of str2.

IsPrefix ( string str1, string str2 ) : bool

Return true if str1 starts with str2.

IsSuffix ( string str1, string str2 ) : bool

Return true if str1 ends with str2.

MakeLCID ( int langid, int sortid ) : int
XmlCollation ( BinaryReader reader ) : System.Collections
XmlCollation ( CultureInfo cultureInfo, Options options ) : System.Collections

Construct a collation that uses the specified culture and compare options.

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int