Export (0) Print
Expand All

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.

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

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

  NameDescription
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.)
Top

  NameDescription
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 (!=).
Top

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

ADD
Show:
© 2014 Microsoft