Class FileOutputStreamPrivateOwnedHandle
public class FileOutputStreamPrivateOwnedHandle : FileOutputStreamPrivateHandle, IDisposable
- Inheritance
-
FileOutputStreamPrivateOwnedHandle
- Implements
- Inherited Members
Constructors
FileOutputStreamPrivateOwnedHandle(IntPtr)
Creates a new instance of FileOutputStreamPrivateOwnedHandle. Assumes that the given pointer is owned by the runtime.
public FileOutputStreamPrivateOwnedHandle(IntPtr ptr)
Parameters
ptr
IntPtr
Methods
FromUnowned(IntPtr)
Create a FileOutputStreamPrivateOwnedHandle from a pointer that is assumed unowned.
public static FileOutputStreamPrivateOwnedHandle FromUnowned(IntPtr ptr)
Parameters
ptr
IntPtrA pointer to a FileOutputStreamPrivate which is not owned by the runtime.
Returns
- FileOutputStreamPrivateOwnedHandle
A FileOutputStreamPrivateOwnedHandle
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()