Click or drag to resize

ValueRefT Class

Holds a value on the heap.
Inheritance Hierarchy
SystemObject
  Microsoft.ClearScriptValueRefT

Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax
public class ValueRef<T>
where T : struct, new()

Type Parameters

T
The value type.

The ValueRefT type exposes the following members.

Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldValue The value currently held by the ValueRefT instance.
Top
Remarks
This utility class can be used for passing mutable values to asynchronous methods.
See Also