System.Xml.XmlDataDocument.SafePreviousSibling C# (CSharp) Méthode

SafePreviousSibling() private méthode

private SafePreviousSibling ( XmlNode n ) : XmlNode
n XmlNode
Résultat XmlNode
        internal XmlNode SafePreviousSibling(XmlNode n)
        {
            XmlBoundElement be = n as XmlBoundElement;
            if (be != null)
                return be.SafePreviousSibling;
            else
                //other type of node should be already foliated.
                return n.PreviousSibling;
        }
XmlDataDocument