System.Xml.XmlNode.InsertBefore C# (CSharp) Méthode

InsertBefore() public méthode

public InsertBefore ( XmlNode node, XmlNode child ) : XmlNode
node XmlNode
child XmlNode
Résultat XmlNode
        public XmlNode InsertBefore(XmlNode node, XmlNode child)
        {
            return default(XmlNode);
        }

Usage Example

        public static void AddDocumentNode(XmlNode parent, ComponentRenderType outputType, string value)
        {
            XmlElement text = parent.OwnerDocument.CreateElement(UADataType.UAString.ToString());
            text.InnerText = value;
            text.SetAttribute(DecoratorTags.OutputDecorator, ComponentRenderType.Title.ToString());
            parent.InsertBefore(text, parent.FirstChild);

        }
All Usage Examples Of System.Xml.XmlNode::InsertBefore