OpenCvSharp.NativeMethods.core_FileStorage_write_vectorOfDMatch C# (CSharp) Method

core_FileStorage_write_vectorOfDMatch() private method

private core_FileStorage_write_vectorOfDMatch ( IntPtr fs, [ name, IntPtr value ) : void
fs System.IntPtr
name [
value System.IntPtr
return void
        public static extern void core_FileStorage_write_vectorOfDMatch(
            IntPtr fs, [MarshalAs(UnmanagedType.LPStr)] string name, IntPtr value);
        

Usage Example

コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="name"></param>
 /// <param name="value"></param>
 public void Write(string name, IEnumerable <DMatch> value)
 {
     if (name == null)
     {
         throw new ArgumentNullException(nameof(name));
     }
     if (value == null)
     {
         throw new ArgumentNullException(nameof(value));
     }
     using (var valueVector = new VectorOfDMatch(value))
     {
         NativeMethods.core_FileStorage_write_vectorOfDMatch(ptr, name, valueVector.CvPtr);
     }
 }
All Usage Examples Of OpenCvSharp.NativeMethods::core_FileStorage_write_vectorOfDMatch
NativeMethods