Microsoft SDK for Java

DataStream.getLength

Retrieves the length of this stream.

Syntax

public long getLength()

Return Value

Returns the length of this stream.

Remarks

This method implements the IByteStream.getLength method. The default implementation raises an IOException, but a subclass can override the method to provide the appropriate functionality.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.