System.Xml.XmlDocument.CreateCDataSection C# (CSharp) Méthode

CreateCDataSection() public méthode

public CreateCDataSection ( String data ) : XmlCDataSection
data String
Résultat XmlCDataSection
        public virtual XmlCDataSection CreateCDataSection(String data)
        {
            fCDataNodesPresent = true;
            return new XmlCDataSection(data, this);
        }

Usage Example

Exemple #1
0
        public WechatBaseMessage()
        {
            XmlDocument doc = new System.Xml.XmlDocument();

            MsgTypeCData      = doc.CreateCDataSection("");
            ToUserNameCData   = doc.CreateCDataSection("");
            FromUserNameCData = doc.CreateCDataSection("");
        }
All Usage Examples Of System.Xml.XmlDocument::CreateCDataSection