GenericParameterHelper 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
GenericParameterHelper() |
Initializes a new instance of the GenericParameterHelper class that satisfies the 'newable' constraint in C# generics. |
GenericParameterHelper(Int32) |
Initializes a new instance of the GenericParameterHelper class that initializes the Data property to a user-supplied value. |
GenericParameterHelper()
Initializes a new instance of the GenericParameterHelper class that satisfies the 'newable' constraint in C# generics.
public:
GenericParameterHelper();
public GenericParameterHelper ();
Public Sub New ()
Remarks
This constructor initializes the Data property to a random value.
Applies to
GenericParameterHelper(Int32)
Initializes a new instance of the GenericParameterHelper class that initializes the Data property to a user-supplied value.
public:
GenericParameterHelper(int data);
public GenericParameterHelper (int data);
new Microsoft.VisualStudio.TestTools.UnitTesting.GenericParameterHelper : int -> Microsoft.VisualStudio.TestTools.UnitTesting.GenericParameterHelper
Public Sub New (data As Integer)
Parameters
- data
- Int32
Any integer value