Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IdAndName Structure
Collapse the table of content
Expand the table of content

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>

The IdAndName type exposes the following members.

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

Public propertyIdGets the ID for the test object.
Public propertyNameGets the name for the test object.

Public methodEquals(Object)Determines whether the provided object is equal to the current object. (Overrides ValueType.Equals(Object).)
Public methodEquals(IdAndName)Determines whether the provided IdAndName object is equal to the current object.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Overrides ValueType.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)

Public operatorStatic memberEqualityReturns a value that indicates whether the values of two specified IdAndName objects are equal (==).
Public operatorStatic memberInequalityReturns 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.

Community Additions

© 2015 Microsoft