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: System.Int32
The ID for the test object.
- name
Type: System.String
The name for the test object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.