ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8.FastProxy
V8FastArg Structure
V8FastArg Methods
TryGet Method
TryGet(BigInteger) Method
TryGet(Boolean) Method
TryGet(Byte) Method
TryGet(Char) Method
TryGet(DateTime) Method
TryGet(Decimal) Method
TryGet(Double) Method
TryGet(Int16) Method
TryGet(Int32) Method
TryGet(Int64) Method
TryGet<T>(Nullable<T>) Method
TryGet(ReadOnlySpan<Char>) Method
TryGet(SByte) Method
TryGet(Single) Method
TryGet(String) Method
TryGet<T>(T) Method
TryGet(UInt16) Method
TryGet(UInt32) Method
TryGet(UInt64) Method

# V8FastArgTryGet(ReadOnlySpanChar) Method

Gets the string value of the argument as a ReadOnlySpan<char> if possible.
Namespace: Microsoft.ClearScript.V8.FastProxy
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public bool TryGet(
    	out ReadOnlySpan<char> value
    )

    Public Function TryGet (
    	<OutAttribute> ByRef value As ReadOnlySpan(Of Char)
    ) As Boolean

    public:
    bool TryGet(
    	[OutAttribute] ReadOnlySpan<wchar_t>% value
    )

    member TryGet :
            value : ReadOnlySpan<char> byref -> bool

#### Parameters

value ReadOnlySpan Char
  On return, the string value of the argument as a ReadOnlySpan<char> if the operation succeeded.

#### Return Value

Boolean
True if the operation succeeded, false otherwise.
See Also

#### Reference

V8FastArg Structure
TryGet Overload
Microsoft.ClearScript.V8.FastProxy Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft