IArrayBuffer.InvokeWithDirectAccess(Action<IntPtr>) Method |
Invokes a delegate that returns no value, giving it direct access to the ArrayBuffer's contents.
Namespace: Microsoft.ClearScript.JavaScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntaxvoid InvokeWithDirectAccess(
Action<IntPtr> action
)
Sub InvokeWithDirectAccess (
action As Action(Of IntPtr)
)
void InvokeWithDirectAccess(
Action<IntPtr>^ action
)
abstract InvokeWithDirectAccess :
action : Action<IntPtr> -> unit
Parameters
- action Action<IntPtr>
- The delegate to invoke.
Remarks
This method invokes the specified delegate, passing in the memory address of the
ArrayBuffer's contents. This memory address is valid only while the delegate is
executing. The delegate must not access memory outside the ArrayBuffer's range.
See Also