Export (0) Print
Expand All

ITestObject<T> Interface

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Provides a base interface for objects that are stored on the Visual Studio Test Professional server.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

public interface ITestObject<T> : IIdentifiable<T>, 
	IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged

Type Parameters

T

The Type of the ID of the object.

The ITestObject<T> type exposes the following members.

  NameDescription
Public propertyErrorGets an error message indicating what is wrong with this object. (Inherited from IDataErrorInfo.)
Public propertyIdGets the identifier. (Inherited from IIdentifiable<TKey>.)
Public propertyInvalidPropertiesGets a list of property names that are invalid. (Inherited from IPropertyOwner.)
Public propertyIsDirtyGets a value that indicates whether any properties have changed since the last refresh, fetch, or save. (Inherited from IPropertyOwner.)
Public propertyItemGets the error message for the property with the given name. (Inherited from IDataErrorInfo.)
Public propertyProjectGets the test project.
Public propertyRevisionGets the current revision number for this object.
Public propertyUserDataGets or sets an arbitrary object or value that is not persisted, but allows test management objects to be dynamically extended.
Top

  NameDescription
Public eventPropertyChangedOccurs when a property value changes. (Inherited from INotifyPropertyChanged.)
Top
Show:
© 2014 Microsoft