core_FileNode_readObj() private method

private core_FileNode_readObj ( IntPtr obj ) : IntPtr
obj System.IntPtr
return System.IntPtr
コード例 #1
0
ファイル: FileNode.cs プロジェクト: rriverak/opencvsharp
 /// <summary>
 /// Reads the registered object and returns pointer to it
 /// </summary>
 /// <returns></returns>
 public IntPtr ReadObj()
 {
     if (disposed)
     {
         throw new ObjectDisposedException("FileNode");
     }
     return(NativeMethods.core_FileNode_readObj(ptr));
 }
コード例 #2
0
        /// <summary>
        /// Reads the registered object and returns pointer to it
        /// </summary>
        /// <returns></returns>
        public IntPtr ReadObj()
        {
            ThrowIfDisposed();
            var res = NativeMethods.core_FileNode_readObj(ptr);

            GC.KeepAlive(this);
            return(res);
        }
コード例 #3
0
 /// <summary>
 /// Reads the registered object and returns pointer to it
 /// </summary>
 /// <returns></returns>
 public IntPtr ReadObj()
 {
     ThrowIfDisposed();
     return(NativeMethods.core_FileNode_readObj(ptr));
 }