JSCallbackArgs structure
Provides access to the arguments for a low-level JavaScript function call or callback, along with the this
argument and an optional context object.
C#
public struct JSCallbackArgs
Public Members
name | description |
---|---|
Data { get; } | Gets the optional context object that was provided when the callback was registered. |
Item { get; } | Gets the argument at the specified (zero-based) index. |
Length { get; } | Gets the number of arguments. |
ThisArg { get; } | Gets the this argument for the call. |
Remarks
This type is a ref struct
meaning it can only be used on the call stack.