| SparseMatValueT Method (Int32, NullableInt64) | 
        
         
            Return pthe specified sparse matrix element if it exists; otherwise, default(T).
            
 
    Namespace: 
   OpenCvSharp
    Assembly:
   OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
 Syntax
Syntaxpublic T Value<T>(
	int[] idx,
	Nullable<long> hashVal = null
)
where T : struct, new()
Public Function Value(Of T As {Structure, New}) ( 
	idx As Integer(),
	Optional hashVal As Nullable(Of Long) = Nothing
) As Tpublic:
generic<typename T>
where T : value class, gcnew()
T Value(
	array<int>^ idx, 
	Nullable<long long> hashVal = nullptr
)
member Value : 
        idx : int[] * 
        ?hashVal : Nullable<int64> 
(* Defaults:
        let _hashVal = defaultArg hashVal null
*)
-> 'T  when 'T : struct, new()
JavaScript does not support generic types or methods.
Parameters
- idx
- Type: SystemInt32
 Array of Mat::dims indices.
- hashVal (Optional)
- Type: SystemNullableInt64
 If hashVal is not null, the element hash value is not computed but hashval is taken instead.
Type Parameters
- T
Return Value
Type: 
T See Also
See Also