Export (0) Print
Expand All

XmlWriter.WriteBinHex Method

When overridden in a derived class, encodes the specified binary bytes as binhex and writes out the resulting text.

[Visual Basic]
Public MustOverride Sub WriteBinHex( _
   ByVal buffer() As Byte, _
   ByVal index As Integer, _
   ByVal count As Integer _
)
[C#]
public abstract void WriteBinHex(
 byte[] buffer,
 int index,
 int count
);
[C++]
public: virtual void WriteBinHex(
 unsigned char buffer __gc[],
 int index,
 int count
) = 0;
[JScript]
public abstract function WriteBinHex(
   buffer : Byte[],
 index : int,
 count : int
);

Parameters

buffer
Byte array to encode.
index
The position in the buffer indicating the start of the bytes to write.
count
The number of bytes to write.

Exceptions

Exception Type Condition
ArgumentNullException buffer is a null reference (Nothing in Visual Basic).
ArgumentException The buffer length minus index is less than count.
ArgumentOutOfRangeException index or count is less than zero.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

XmlWriter Class | XmlWriter Members | System.Xml Namespace

Show:
© 2014 Microsoft