Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a test object that has only an ID and a name.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Public Structure IdAndName _
Implements IEquatable(Of IdAndName)
public struct IdAndName : IEquatable<IdAndName>
public value class IdAndName : IEquatable<IdAndName>
[<Sealed>]
type IdAndName =
struct
interface IEquatable<IdAndName>
end
JScript supports the use of structures, but not the declaration of new ones.
The IdAndName type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
IdAndName | Initializes a new instance of the IdAndName class by using the provided ID and name. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
Id | Gets the ID for the test object. |
![]() |
Name | Gets the name for the test object. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals(Object) | Determines whether the provided object is equal to the current object. (Overrides ValueType.Equals(Object).) |
![]() |
Equals(IdAndName) | Determines whether the provided IdAndName object is equal to the current object. |
![]() |
GetHashCode | Returns the hash code for this instance. (Overrides ValueType.GetHashCode.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Operators
| Name | Description | |
|---|---|---|
![]() ![]() |
Equality | Returns a value that indicates whether the values of two specified IdAndName objects are equal (==). |
![]() ![]() |
Inequality | Returns a value that indicates whether the values of two specified IdAndName objects are not equal (!=). |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)
.gif)