C# Класс Microsoft.Protocols.TestSuites.Common.ActiveSyncXmlWriter

ActiveSync XML writer.
Наследование: System.Xml.XmlTextWriter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ActiveSyncXmlWriter ( Stream stream, Encoding encoding ) : System.Globalization

Initializes a new instance of the ActiveSyncXmlWriter class.

WriteEndAttribute ( ) : void

Closes the previous System.Xml.XmlTextWriter.WriteStartAttribute(System.String,System.String,System.String) call.

WriteRaw ( string data ) : void

Writes raw markup manually from a string.(true or false will be 1 or 0)

WriteStartAttribute ( string prefix, string localName, string ns ) : void

Writes the start of an attribute.

WriteStartElement ( string prefix, string localName, string ns ) : void

Writes the start of an element

WriteString ( string text ) : void

Writes the given text content.

WriteValue ( bool value ) : void

Override this, true or false will be 1 or 0

Приватные методы

Метод Описание
IsCDATAValue ( ) : bool

Verifies whether the current element is a CDATA value or not.

Описание методов

ActiveSyncXmlWriter() публичный Метод

Initializes a new instance of the ActiveSyncXmlWriter class.
public ActiveSyncXmlWriter ( Stream stream, Encoding encoding ) : System.Globalization
stream System.IO.Stream The steam be write.
encoding System.Text.Encoding Represents a character encoding.
Результат System.Globalization

WriteEndAttribute() публичный Метод

Closes the previous System.Xml.XmlTextWriter.WriteStartAttribute(System.String,System.String,System.String) call.
public WriteEndAttribute ( ) : void
Результат void

WriteRaw() публичный Метод

Writes raw markup manually from a string.(true or false will be 1 or 0)
public WriteRaw ( string data ) : void
data string String containing the text to write.
Результат void

WriteStartAttribute() публичный Метод

Writes the start of an attribute.
public WriteStartAttribute ( string prefix, string localName, string ns ) : void
prefix string Namespace prefix of the attribute.
localName string LocalName of the attribute.
ns string NamespaceURI of the attribute
Результат void

WriteStartElement() публичный Метод

Writes the start of an element
public WriteStartElement ( string prefix, string localName, string ns ) : void
prefix string Namespace prefix of the element.
localName string LocalName of the element.
ns string NamespaceURI of the element
Результат void

WriteString() публичный Метод

Writes the given text content.
public WriteString ( string text ) : void
text string Text to write.
Результат void

WriteValue() публичный Метод

Override this, true or false will be 1 or 0
public WriteValue ( bool value ) : void
value bool The value will be change.
Результат void