共用方式為


GenericParameterHelper Constructor (Int32)

Initializes a new instance of the GenericParameterHelper class. This constructor initializes the Data property to a user specified value.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntax

'Declaration
Public Sub New ( _
    data As Integer _
)
public GenericParameterHelper(
    int data
)
public:
GenericParameterHelper(
    int data
)
new : 
        data:int -> GenericParameterHelper
public function GenericParameterHelper(
    data : int
)

Parameters

  • data
    Type: Int32

    The initial value for the Data property.

.NET Framework Security

See Also

Reference

GenericParameterHelper Class

GenericParameterHelper Overload

Microsoft.VisualStudio.TestTools.UnitTesting Namespace