CastArrayTFrom, TToCast3DT Method
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public CastArray3D<TFrom, T> Cast3D<T>(
int depth,
int height,
int width
)
where T : struct, new()
Public Function Cast3D(Of T As {Structure, New}) (
depth As Integer,
height As Integer,
width As Integer
) As CastArray3D(Of TFrom, T)
public:
generic<typename T>
where T : value class, gcnew()
CastArray3D<TFrom, T> Cast3D(
int depth,
int height,
int width
)
member Cast3D :
depth : int *
height : int *
width : int -> CastArray3D<'TFrom, 'T> when 'T : struct, new()
- depth Int32
- The depth of the array to be returned.
- height Int32
- The height of the array to be returned.
- width Int32
- The width of the array to be returned.
- T
- The new desired type instead of the original TTo.
CastArray3DTFrom,
TA
CastArray3DTFrom, TTo instance where original
TTo type is replaced to
T.