Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public struct IdAndName : IEquatable<IdAndName>

NameDescription
System_CAPS_pubmethodIdAndName(Int32, String)

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

NameDescription
System_CAPS_pubpropertyId

Gets the ID for the test object.

System_CAPS_pubpropertyName

Gets the name for the test object.

NameDescription
System_CAPS_pubmethodEquals(IdAndName)

Determines whether the provided IdAndName object is equal to the current object.

System_CAPS_pubmethodEquals(Object)

Determines whether the provided object is equal to the current object.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from ValueType.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(IdAndName, IdAndName)

Returns a value that indicates whether the values of two specified IdAndName objects are equal (==).

System_CAPS_puboperatorSystem_CAPS_staticInequality(IdAndName, IdAndName)

Returns a value that indicates whether the values of two specified IdAndName objects are not equal (!=).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: