The AsBitStream method returns a BitStream representation (serialized form) of the NBElement's hierarchy being operated on, using the given encoding and ccsid.


- encoding (Int32)
- The encoding to use when parsing the bit stream.
Remarks
A special value of 0 may be supplied to indicate that the queue manager's encoding should be used.
- ccsid (Int32)
- The coded character set identifier to use when parsing the bit stream.
Remarks
This parameter is mandatory. A special value of 0 may be supplied to indicate that the queue manager's ccsid should be used.

Bitstream representation of the element and all its children.

This method causes the parser associated with the element to serialize the element and all its children.