Share via


IdAndName Constructor

Initializes a new instance of the IdAndName class by using the provided ID and name.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    id As Integer, _
    name As String _
)
public IdAndName(
    int id,
    string name
)
public:
IdAndName(
    int id, 
    String^ name
)
new : 
        id:int * 
        name:string -> IdAndName
public function IdAndName(
    id : int, 
    name : String
)

Parameters

  • id
    Type: Int32

    The ID for the test object.

  • name
    Type: String

    The name for the test object.

.NET Framework Security

See Also

Reference

IdAndName Structure

Microsoft.TeamFoundation.TestManagement.Client Namespace