System.Xml.Schema.XmlSchemaParticle.GetQualifiedName C# (CSharp) Méthode

GetQualifiedName() private méthode

private GetQualifiedName ( ) : XmlQualifiedName
Résultat XmlQualifiedName
        internal XmlQualifiedName GetQualifiedName() {
            XmlSchemaElement elem = this as XmlSchemaElement;
            if (elem != null) {
                return elem.QualifiedName;
            }
            else {
                XmlSchemaAny any = this as XmlSchemaAny;
                if (any != null) {
                    string ns = any.Namespace; 
                    if (ns != null) {
                        ns = ns.Trim();
                    }
                    else {
                        ns = string.Empty;
                    }
                    return new XmlQualifiedName("*", ns.Length == 0 ? "##any" : ns);
                }
            }
            return XmlQualifiedName.Empty; //If ever called on other particles
        }
XmlSchemaParticle