| 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.2.Release.8aafb2feb11098c1e662b6a8d337b44fd757e6f1
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.
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