NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MemoryStream.GetBuffer

Returns the array of unsigned bytes from which this Stream was created.

[Visual Basic]
Overridable Public Function GetBuffer() As Byte ()
[C#]
public virtual byte[] GetBuffer();
[C++]
public: virtual unsigned char* GetBuffer() [];
[JScript]
public function GetBuffer() : Byte[];

Return Value

The array of unsigned bytes from which this Stream was created.

Exceptions

Exception Type Condition
AccessException The MemoryStream instance was not created with publicallyVisible set to true in its constructor.

See Also

MemoryStream Class | MemoryStream Members | System.IO Namespace