Click or drag to resize
SbNativeArrayTHasManagedBuffer Property
Convenient property to test if the instance wraps a managed buffer.

Namespace: OIV.Inventor.Generic
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2023.2.3.Release.c1a14b01e6296bf517288683d75c01bbe269b3dc
Syntax
public bool HasManagedBuffer { get; }

Property Value

Type: Boolean
Remarks
The [P:CanGetBuffer] can returns false even if [P:HasManagedBuffer] returns true. When using explicit cast operators, we lost the original managed buffer reference but we keep a pin handle on original buffer in instance resulting from the cast.
See Also