SbNativeArrayTSetLength Method |
Sets the current position of the current stream to the given value.
Namespace: OIV.Inventor.GenericAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public override void SetLength(
long length
)
Public Overrides Sub SetLength (
length As Long
)
public:
virtual void SetLength(
long long length
) override
abstract SetLength :
length : int64 -> unit
override SetLength :
length : int64 -> unit
Parameters
- length
- Type: SystemInt64
The length of the stream. This is NOT a byte length but an element length.
Exceptions Exception | Condition |
---|
IOException | An IO exception has occured. |
ObjectDisposedException | The stream is closed. |
ArgumentOutOfRangeException | The specified value exceeds the capacity of the stream.
-or-
The specified value is negative.
|
See Also