CastArray3DTFrom, TToItem(Int32, Int32, Int32) Property
Gets or sets the element at the specified indices. Parameter order is the same as in case of a regular three-dimensional array.
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.5.0
public TTo this[
int z,
int y,
int x
] { get; set; }
Public Default Property Item (
z As Integer,
y As Integer,
x As Integer
) As TTo
Get
Set
public:
property TTo default[int z, int y, int x] {
TTo get (int z, int y, int x);
void set (int z, int y, int x, TTo value);
}
member Item : 'TTo with get, set
- z Int32
- The Z-coordinate (depth index) of the item to get or set.
- y Int32
- The Y-coordinate (row index) of the item to get or set.
- x Int32
- The X-coordinate (column index) of the item to get or set.
TToThe element at the specified indices.
| IndexOutOfRangeException | The specified indices refer to an item outside the bounds of the underlying Buffer. |
| NotSupportedException | .NET Framework only: you access this member in a partially trusted AppDomain that does not allow executing unverifiable code. |
| DataMisalignedException | TTo is a primitive type of size larger than 1 byte, the address of the result
is not properly aligned at the specified indices, and the executing architecture does not support misaligned memory access (e.g. ARM). |