BExIS.Xml.Helpers.XmlSchemaUtility.GetComplextType C# (CSharp) Method

GetComplextType() public static method

public static GetComplextType ( XmlSchemaElement element ) : XmlSchemaComplexType
element System.Xml.Schema.XmlSchemaElement
return System.Xml.Schema.XmlSchemaComplexType
        public static XmlSchemaComplexType GetComplextType(XmlSchemaElement element)
        {
            if (element.ElementSchemaType is XmlSchemaComplexType)
                return element.ElementSchemaType as XmlSchemaComplexType;

            return null;
        }