V8FastArgs.GetCharSpan Method |
Namespace: Microsoft.ClearScript.V8.FastProxyAssembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntaxpublic ReadOnlySpan<char> GetCharSpan(
int index,
string name = null
)
Public Function GetCharSpan (
index As Integer,
Optional name As String = Nothing
) As ReadOnlySpan(Of Char)
public:
ReadOnlySpan<wchar_t> GetCharSpan(
int index,
String^ name = nullptr
)
member GetCharSpan :
index : int *
?name : string
(* Defaults:
let _name = defaultArg name null
*)
-> ReadOnlySpan<char>
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