Click or drag to resize

V8FastArgs.GetCharSpan Method

Gets the string value of the argument at the specified index as a ReadOnlySpan<char>.

Namespace: Microsoft.ClearScript.V8.FastProxy
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
public ReadOnlySpan<char> GetCharSpan(
	int index,
	string name = null
)

Parameters

index  Int32
The argument index.
name  String  (Optional)
An optional argument or property name.

Return Value

ReadOnlySpan<Char>
The string value of the argument at the specified index as a ReadOnlySpan<char>.
Remarks
This method throws an exception if the operation fails.
See Also