Uredi

Deli z drugimi prek


StrongBox<T> Constructors

Definition

Overloads

StrongBox<T>()

Initializes a new StrongBox which can receive a value when used in a reference call.

StrongBox<T>(T)

Initializes a new instance of the StrongBox<T> class by using the supplied value.

StrongBox<T>()

Source:
StrongBox.cs
Source:
StrongBox.cs
Source:
StrongBox.cs

Initializes a new StrongBox which can receive a value when used in a reference call.

public:
 StrongBox();
public StrongBox ();
Public Sub New ()

Applies to

StrongBox<T>(T)

Source:
StrongBox.cs
Source:
StrongBox.cs
Source:
StrongBox.cs

Initializes a new instance of the StrongBox<T> class by using the supplied value.

public:
 StrongBox(T value);
public StrongBox (T value);
new System.Runtime.CompilerServices.StrongBox<'T> : 'T -> System.Runtime.CompilerServices.StrongBox<'T>
Public Sub New (value As T)

Parameters

value
T

A value that the StrongBox<T> will reference.

Applies to