| SparseMatSetT Method (Int32, T, NullableInt64) |
Set a value to the specified array element.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public void Set<T>(
int[] idx,
T value,
Nullable<long> hashVal = null
)
where T : struct, new()
Public Sub Set(Of T As {Structure, New}) (
idx As Integer(),
value As T,
Optional hashVal As Nullable(Of Long) = Nothing
)
public:
generic<typename T>
where T : value class, gcnew()
void Set(
array<int>^ idx,
T value,
Nullable<long long> hashVal = nullptr
)
member Set :
idx : int[] *
value : 'T *
?hashVal : Nullable<int64>
(* Defaults:
let _hashVal = defaultArg hashVal null
*)
-> unit when 'T : struct, new()
Parameters
- idx
- Type: SystemInt32
Array of Mat::dims indices. - value
- Type: T
[Missing <param name="value"/> documentation for "M:OpenCvSharp.SparseMat.Set``1(System.Int32[],``0,System.Nullable{System.Int64})"]
- hashVal (Optional)
- Type: SystemNullableInt64
If hashVal is not null, the element hash value is not computed but hashval is taken instead.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:OpenCvSharp.SparseMat.Set``1(System.Int32[],``0,System.Nullable{System.Int64})"]
See Also