C# 클래스 Microsoft.Protocols.TestSuites.Common.ActiveSyncXmlWriter

ActiveSync XML writer.
상속: System.Xml.XmlTextWriter
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites 1 사용 예제들

공개 메소드들

메소드 설명
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