System.Xml.Serialization.XmlSchemaImporter.GetTopLevelElement C# (CSharp) Méthode

GetTopLevelElement() private méthode

private GetTopLevelElement ( XmlSchemaElement element ) : XmlSchemaElement
element System.Xml.Schema.XmlSchemaElement
Résultat System.Xml.Schema.XmlSchemaElement
        private XmlSchemaElement GetTopLevelElement(XmlSchemaElement element)
        {
            if (!element.RefName.IsEmpty)
                return FindElement(element.RefName);
            return null;
        }