ILNumerics Ultimate VS

ConcreteArrayT1, LocalT, InT, OutT, RetT, StorageTReferenceCount Property

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Gets the number of arrays currently sharing the storage with this array.

[ILNumerics Core Module]

Namespace:  ILNumerics.Core.Arrays
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.4.0.0 (5.4.7431.3055)
Syntax

public override int ReferenceCount { get; }

Property Value

Type: Int32
Remarks

Mutable arrays (ArrayT) can only be modified when no other arrays share the same storage. This will be true for ArrayT in regular use and can be verified by reading the ReferenceCount property. In order for mutable arrays to allow modifications ReferenceCount must be 1.

[ILNumerics Core Module]

See Also

Reference