Method OpenForDirectAccess
OpenForDirectAccess()
Used to lock the buffer and get a raw pointer to it. This is the only way to change the entire context at once. This is useful for pinvoking to native functions.
public IContextDirectAccessor OpenForDirectAccess()
Returns
- IContextDirectAccessor
context writer object
Remarks
Expected usage would be (in C# syntax):