返回测试用例引用的该共享步骤的特定版本。 当与 sharedStepId 对应的共享步骤未通过测试用例,则引用从返回 null。
命名空间: Microsoft.TeamFoundation.TestManagement.Client
程序集: Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
声明
Function GetReferencedSharedStep ( _
sharedStepId As Integer, _
sharedStepRevision As Integer _
) As ISharedStep
ISharedStep GetReferencedSharedStep(
int sharedStepId,
int sharedStepRevision
)
ISharedStep^ GetReferencedSharedStep(
int sharedStepId,
int sharedStepRevision
)
abstract GetReferencedSharedStep :
sharedStepId:int *
sharedStepRevision:int -> ISharedStep
function GetReferencedSharedStep(
sharedStepId : int,
sharedStepRevision : int
) : ISharedStep
参数
- sharedStepId
类型:Int32
- sharedStepRevision
类型:Int32
返回值
类型:Microsoft.TeamFoundation.TestManagement.Client.ISharedStep
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。