System.Runtime.InteropServices.SafeBuffer.ReleasePointer Method

Releases a pointer that was obtained by the SafeBuffer.AcquirePointer(Byte*@) method.

Syntax

[System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)]
public void ReleasePointer ()

Remarks

After this method returns, the pointer cannot be used.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0