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: 2025.1.0.Release.bbf67b7ce81225a791aa69eb415ebddead35829d
Syntaxpublic 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.
ExceptionsException | 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