IdAndName Structure
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
public struct IdAndName : IEquatable<IdAndName>
public value struct IdAndName : IEquatable<IdAndName>
[<Sealed>]
type IdAndName =
struct
interface IEquatable<IdAndName>
end
Public Structure IdAndName
Implements IEquatable(Of IdAndName)
Constructors
Name | Description | |
---|---|---|
IdAndName(Int32, String) | Initializes a new instance of the IdAndName class by using the provided ID and name. |
Properties
Name | Description | |
---|---|---|
Id | Gets the ID for the test object. |
|
Name | Gets the name for the test object. |
Methods
Name | Description | |
---|---|---|
Equals(IdAndName) | Determines whether the provided IdAndName object is equal to the current object. |
|
Equals(Object) | Determines whether the provided object is equal to the current object.(Overrides ValueType.Equals(Object).) |
|
GetHashCode() | Returns the hash code for this instance.(Overrides ValueType.GetHashCode().) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from ValueType.) |
Operators
Name | Description | |
---|---|---|
Equality(IdAndName, IdAndName) | Returns a value that indicates whether the values of two specified IdAndName objects are equal (==). |
|
Inequality(IdAndName, IdAndName) | Returns a value that indicates whether the values of two specified IdAndName objects are not equal (!=). |
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.
See Also
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top