StrongBox<T> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.