Share via


ITestObject<T> Interface

 

This API supports the product 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

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
Public Interface ITestObject(Of T)
    Inherits IIdentifiable(Of T), IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged

Type Parameters

  • T
    The Type of the ID of the object.

Properties

Name Description
System_CAPS_pubproperty Error

(Inherited from IDataErrorInfo.)

System_CAPS_pubproperty Id

Gets the identifier.(Inherited from IIdentifiable<TKey>.)

System_CAPS_pubproperty InvalidProperties

Gets a list of property names that are invalid.(Inherited from IPropertyOwner.)

System_CAPS_pubproperty IsDirty

Gets a value that indicates whether any properties have changed since the last refresh, fetch, or save.(Inherited from IPropertyOwner.)

System_CAPS_pubproperty Item[String]

(Inherited from IDataErrorInfo.)

System_CAPS_pubproperty Project

Gets the test project.

System_CAPS_pubproperty Revision

Gets the current revision number for this object.

System_CAPS_pubproperty UserData

Gets or sets an arbitrary object or value that is not persisted, but allows test management objects to be dynamically extended.

Events

Name Description
System_CAPS_pubevent PropertyChanged

(Inherited from INotifyPropertyChanged.)

See Also

IIdentifiable<TKey>
IPropertyOwner
IDataErrorInfo
INotifyPropertyChanged
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top