Freigeben über


PexSafeHelpers.AssignBoxedValue<T>(Object, T) Method

Definition

Sets the boxed value of an existing box object.

public:
generic <typename T>
 static void AssignBoxedValue(System::Object ^ target, T value);
public static void AssignBoxedValue<T> (object target, T value);
static member AssignBoxedValue : obj * 'T -> unit
Public Shared Sub AssignBoxedValue(Of T) (target As Object, value As T)

Type Parameters

T

Parameters

target
Object

The target.

value
T

The value.

Applies to