다음을 통해 공유


EncoderStream.SetLength Method

The SetLength method sets the length of the stream.

Namespace: Microsoft.Exchange.Data.Mime.Encoders
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Overrides NotOverridable Sub SetLength ( _
    value As Long _
)
public override sealed void SetLength (
    long value
)
public:
virtual void SetLength (
    long long value
) override sealed
public final void SetLength (
    long value
)
public override final function SetLength (
    value : long
)

Parameters

  • value
    A long integer representing the desired length of the stream.

Exceptions

Exception type Condition
NotSupportedException

The stream does not support both writing and seeking.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003