System.Xml.Xsl.Runtime.XmlCollation.Create C# (CSharp) Method

Create() static private method

static private Create ( string collationLiteral ) : XmlCollation
collationLiteral string
return XmlCollation
        internal static XmlCollation Create(string collationLiteral)
        {
            return Create(collationLiteral, /*throw:*/true);
        }
        // This function is used in both parser and F&O library, so just strictly map valid literals to XmlCollation.

Same methods

XmlCollation::Create ( string collationLiteral, bool throwOnError ) : XmlCollation

Usage Example

Exemplo n.º 1
0
 /// <summary>
 /// Create a collation from a string.
 /// </summary>
 public XmlCollation CreateCollation(string collation)
 {
     return(XmlCollation.Create(collation));
 }