C# 클래스 Mvp.Xml.Common.XmlFragmentStream

상속: Stream
파일 보기 프로젝트 열기: Monobjc/monobjc-tools

공개 메소드들

메소드 설명
Close ( ) : void

See Stream.Close.

Flush ( ) : void

See Stream.Flush.

Read ( byte buffer, int offset, int count ) : int

See Stream.Read.

Seek ( long offset, SeekOrigin origin ) : long

See Stream.Seek.

SetLength ( long value ) : void

See Stream.SetLength.

Write ( byte buffer, int offset, int count ) : void

See Stream.Write.

XmlFragmentStream ( Stream innerStream ) : System

Initializes the class with the underlying stream to use, and uses the default <root> container element.

XmlFragmentStream ( Stream innerStream, string rootName ) : System

Initializes the class with the underlying stream to use, with a custom root element.

XmlFragmentStream ( Stream innerStream, string rootName, string ns ) : System

Initializes the class with the underlying stream to use, with a custom root element.

메소드 상세

Close() 공개 메소드

See Stream.Close.
public Close ( ) : void
리턴 void

Flush() 공개 메소드

See Stream.Flush.
public Flush ( ) : void
리턴 void

Read() 공개 메소드

See Stream.Read.
public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
리턴 int

Seek() 공개 메소드

See Stream.Seek.
public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

SetLength() 공개 메소드

See Stream.SetLength.
public SetLength ( long value ) : void
value long
리턴 void

Write() 공개 메소드

See Stream.Write.
public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
리턴 void

XmlFragmentStream() 공개 메소드

Initializes the class with the underlying stream to use, and uses the default <root> container element.
public XmlFragmentStream ( Stream innerStream ) : System
innerStream Stream The stream to read from.
리턴 System

XmlFragmentStream() 공개 메소드

Initializes the class with the underlying stream to use, with a custom root element.
public XmlFragmentStream ( Stream innerStream, string rootName ) : System
innerStream Stream The stream to read from.
rootName string Custom root element name to use.
리턴 System

XmlFragmentStream() 공개 메소드

Initializes the class with the underlying stream to use, with a custom root element.
public XmlFragmentStream ( Stream innerStream, string rootName, string ns ) : System
innerStream Stream The stream to read from.
rootName string Custom root element name to use.
ns string The namespace of the root element.
리턴 System