System.Xml.XmlDataDocument.IsTextNode C# (CSharp) Method

IsTextNode() static private method

static private IsTextNode ( XmlNodeType nt ) : bool
nt XmlNodeType
return bool
        internal static bool IsTextNode(XmlNodeType nt)
        {
            switch (nt)
            {
                case XmlNodeType.Text:
                case XmlNodeType.CDATA:
                case XmlNodeType.Whitespace:
                case XmlNodeType.SignificantWhitespace:
                    return true;
                default:
                    return false;
            }
        }
XmlDataDocument