BlogML.BlogMLWriterBase.WriteComment C# (CSharp) Method

WriteComment() protected method

protected WriteComment ( string id, BlogMLContent title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string userName, string userEmail, string userUrl, BlogMLContent content ) : void
id string
title BlogML.Xml.BlogMLContent
dateCreated System.DateTime
dateModified System.DateTime
approved bool
userName string
userEmail string
userUrl string
content BlogML.Xml.BlogMLContent
return void
        protected void WriteComment(            string id,
            BlogMLContent title,
            DateTime dateCreated,
            DateTime dateModified,
            bool approved,
            string userName,
            string userEmail,
            string userUrl,
            BlogMLContent content
            )
        {
            WriteStartElement("comment");
            WriteNodeAttributes(id, dateCreated, dateModified, approved);
            WriteAttributeStringRequired("user-name", userName ?? "");
            WriteAttributeString("user-url", userUrl ?? "");
            WriteAttributeString("user-email", userEmail ?? "");
            WriteContent("title", title);
            WriteContent("content", content);
            WriteEndElement();
        }

Same methods

BlogMLWriterBase::WriteComment ( string id, string title, ContentTypes titleContentType, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string userName, string userEmail, string userUrl, string content, ContentTypes commentContentType ) : void
BlogMLWriterBase::WriteComment ( string id, string title, System.DateTime dateCreated, System.DateTime dateModified, bool approved, string userName, string userEmail, string userUrl, string content ) : void