SbNativeArrayT Constructor (T, Int32, Boolean, Boolean) |
Initializes a new instance.
This constructor allows to share a managed array with unmanaged code.
Namespace: OIV.Inventor.GenericAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax [SecurityCriticalAttribute]
public SbNativeArray(
T[] array,
int offsetIndex,
bool writable,
bool publiclyVisible
)
<SecurityCriticalAttribute>
Public Sub New (
array As T(),
offsetIndex As Integer,
writable As Boolean,
publiclyVisible As Boolean
)
public:
[SecurityCriticalAttribute]
SbNativeArray(
array<T>^ array,
int offsetIndex,
bool writable,
bool publiclyVisible
)
[<SecurityCriticalAttribute>]
new :
array : 'T[] *
offsetIndex : int *
writable : bool *
publiclyVisible : bool -> SbNativeArray
Parameters
- array
- Type: T
Managed array of type T. - offsetIndex
- Type: SystemInt32
The buffer position of the first element. - writable
- Type: SystemBoolean
The setting of the CanWrite property, which determines
whether the stream supports writing. - publiclyVisible
- Type: SystemBoolean
true to enable GetBuffer, which returns the managed
array from which the stream was created; otherwise, false.
See Also