此接口用于从测试用例中调用共享步骤集。
命名空间:  Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
声明
Public Interface ISharedStepReference _
    Inherits ITestAction, INotifyPropertyChanged
public interface ISharedStepReference : ITestAction, 
    INotifyPropertyChanged
public interface class ISharedStepReference : ITestAction, 
    INotifyPropertyChanged
type ISharedStepReference =  
    interface
        interface ITestAction
        interface INotifyPropertyChanged
    end
public interface ISharedStepReference extends ITestAction, INotifyPropertyChanged
ISharedStepReference 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | Id | 获取此测试操作的唯一标识符。 (继承自 ITestAction。) | 
| .gif) | Owner | 获取表示此测试操作所有者的测试基。 (继承自 ITestAction。) | 
| .gif) | Parent | 获取此测试操作的父测试操作组。 (继承自 ITestAction。) | 
| .gif) | SharedStepId | 获取或设置关联共享步骤的工作项 ID。 | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | CopyToNewOwner | 执行深层复制,将此操作复制到新的所有者。 (继承自 ITestAction。) | 
| .gif) | FindSharedStep | 从服务器中返回共享步骤定义。 | 
| .gif) | MoveToNewOwner | 将此测试操作添加到新所有者,并将当前所有者设置为 null。 (继承自 ITestAction。) | 
页首
事件
| 名称 | 说明 | |
|---|---|---|
| .gif) | PropertyChanged | 在更改属性值时发生。 (继承自 INotifyPropertyChanged。) | 
页首