JSSet Explicit operator (1 of 4)
C#
public static explicit operator JSSet(JSIterable obj)See Also
- struct JSIterable
- struct JSSet
- namespace Microsoft.JavaScript.NodeApi
JSSet Explicit operator (2 of 4)
C#
public static explicit operator JSSet(JSObject obj)See Also
- struct JSObject
- struct JSSet
- namespace Microsoft.JavaScript.NodeApi
JSSet Explicit operator (3 of 4)
Explicitly converts a JSValue to a nullable JSSet.
C#
public static explicit operator JSSet?(JSValue value)| parameter | description |
|---|---|
| value | The JSValue to convert. |
Return Value
The JSSet if it was successfully created or null if it was failed.
See Also
- struct JSValue
- struct JSSet
- namespace Microsoft.JavaScript.NodeApi
JSSet Explicit operator (4 of 4)
Explicitly converts a JSValue to a JSSet.
C#
public static explicit operator JSSet(JSValue value)| parameter | description |
|---|---|
| value | The JSValue to convert. |
Return Value
JSSet struct created based on this JSValue.
Exceptions
| exception | condition |
|---|---|
| InvalidCastException | Thrown when the T struct cannot be created based on this JSValue. |
See Also
- struct JSValue
- struct JSSet
- namespace Microsoft.JavaScript.NodeApi