JSRuntimeContext.CreateStruct<T> method
Creates a new (empty) JS instance for a struct.
C#
public JSValue CreateStruct<T>()
where T : struct
Return Value
The JS wrapper.
See Also
- struct JSValue
- class JSRuntimeContext
- namespace Microsoft.JavaScript.NodeApi.Interop