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)
Syntax
'Declaration
Public Interface ITestObject(Of T) _
Inherits IIdentifiable(Of T), IPropertyOwner, IDataErrorInfo, _
INotifyPropertyChanged
public interface ITestObject<T> : IIdentifiable<T>,
IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
generic<typename T>
public interface class ITestObject : IIdentifiable<T>,
IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
type ITestObject<'T> =
interface
interface IIdentifiable<'T>
interface IPropertyOwner
interface IDataErrorInfo
interface INotifyPropertyChanged
end
JScript does not support generic types or methods.
Type Parameters
- T
The Type of the ID of the object.
The ITestObject<T> type exposes the following members.
Properties
Name | Description | |
---|---|---|
Error | Gets an error message indicating what is wrong with this object. (Inherited from IDataErrorInfo.) | |
Id | Gets the identifier. (Inherited from IIdentifiable<TKey>.) | |
InvalidProperties | Gets a list of property names that are invalid. (Inherited from IPropertyOwner.) | |
IsDirty | Gets a value that indicates whether any properties have changed since the last refresh, fetch, or save. (Inherited from IPropertyOwner.) | |
Item | Gets the error message for the property with the given name. (Inherited from IDataErrorInfo.) | |
Project | Gets the test project. | |
Revision | Gets the current revision number for this object. | |
UserData | Gets or sets an arbitrary object or value that is not persisted, but allows test management objects to be dynamically extended. |
Top
Events
Name | Description | |
---|---|---|
PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) |
Top