ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8.FastProxy
V8FastArg Structure
V8FastArg Methods
Get<T> Method
GetBigInteger Method
GetBoolean Method
GetByte Method
GetChar Method
GetCharSpan Method
GetDateTime Method
GetDecimal Method
GetDouble Method
GetInt16 Method
GetInt32 Method
GetInt64 Method
GetNullable<T> Method
GetSByte Method
GetSingle Method
GetString Method
GetUInt16 Method
GetUInt32 Method
GetUInt64 Method
TryGet Method

# V8FastArgGetNullable T Method

Gets a nullable value of the given underlying type from the argument.
Namespace: Microsoft.ClearScript.V8.FastProxy
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public T? GetNullable<T>(
    	string name = null
    )
    where T : struct, new()

    Public Function GetNullable(Of T As {Structure, New}) (
    	Optional name As String = Nothing
    ) As T?

    public:
    generic<typename T>
    where T : value class, gcnew()
    Nullable<T> GetNullable(
    	String^ name = nullptr
    )

    member GetNullable :
            ?name : string
    (* Defaults:
            let _name = defaultArg name null
    *)
    -> Nullable<'T>  when 'T : struct, new()

#### Parameters

name String (Optional)
  An optional argument or property name.

#### Type Parameters

T
  The underlying type of the nullable value to get.

#### Return Value

Nullable T
A nullable value of underlying type T.
Remarks
This method throws an exception if the operation fails.
See Also

#### Reference

V8FastArg Structure
Microsoft.ClearScript.V8.FastProxy Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft