Click or drag to resize
SbNativeArrayTGetBuffer Method
Returns the array of elements of type T from which this stream was created.

Namespace: OIV.Inventor.Generic
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2025.2.0.Release.47655112efc68a70bb943ee3bd5c1e27763923ef
Syntax
public T[] GetBuffer()

Return Value

Type: T
The element array from which this stream was created, or the underlying array if a managed array was not provided to the SbNativeArray constructor during construction of the current instance.
Exceptions
ExceptionCondition
UnauthorizedAccessException If buffer is not exposed.
Remarks
The CanGetBuffer property indicates if this method call is supposed to return a value. If the buffer is not exposed, an UnauthorizedAccessException is thrown.
See Also