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

# V8FastResultSet T(Nullable T) Method

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

    public void Set<T>(
    	T? value
    )
    where T : struct, new()

    Public Sub Set(Of T As {Structure, New}) (
    	value As T?
    )

    public:
    generic<typename T>
    where T : value class, gcnew()
    void Set(
    	Nullable<T> value
    )

    member Set :
            value : Nullable<'T> -> unit  when 'T : struct, new()

#### Parameters

value Nullable T
  A nullable value of underlying type T to assign to the result.

#### Type Parameters

T
  The underlying type of the nullable value to assign.

See Also

#### Reference

V8FastResult Structure
Set Overload
Microsoft.ClearScript.V8.FastProxy Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft