SbNativeArrayTGetBuffer Method |
Returns the array of elements of type T from which this stream was created.
Namespace: OIV.Inventor.GenericAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax Public Function GetBuffer As T()
public:
array<T>^ GetBuffer()
member GetBuffer : unit -> 'T[]
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 Exception | Condition |
---|
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