VersionControlLabelExt.OpenLabel 方法 (String)
打开一个新标签文档窗口将窗体命名为“vstfs://VersionControl/Label/的标签URI |”,其中|是LabelId
命名空间: Microsoft.VisualStudio.TeamFoundation.VersionControl
程序集: Microsoft.VisualStudio.TeamFoundation.VersionControl(在 Microsoft.VisualStudio.TeamFoundation.VersionControl.dll 中)
语法
声明
Public Function OpenLabel ( _
labelUri As String _
) As VersionControlLabelDocument
public VersionControlLabelDocument OpenLabel(
string labelUri
)
参数
- labelUri
类型:System.String
打开的标签URI
返回值
类型:Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlLabelDocument
打开的VersionControlLabelDocument。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。