Share via


VersionControlLabelExt.OpenLabel Method (String)

Opens a new label document window, given a label URI of the form "vstfs://VersionControl/Label/#", where # is the LabelId

Namespace:  Microsoft.VisualStudio.TeamFoundation.VersionControl
Assembly:  Microsoft.VisualStudio.TeamFoundation.VersionControl (in Microsoft.VisualStudio.TeamFoundation.VersionControl.dll)

Syntax

'Declaration
Public Function OpenLabel ( _
    labelUri As String _
) As VersionControlLabelDocument
public VersionControlLabelDocument OpenLabel(
    string labelUri
)
public:
VersionControlLabelDocument^ OpenLabel(
    String^ labelUri
)
member OpenLabel : 
        labelUri:string -> VersionControlLabelDocument
public function OpenLabel(
    labelUri : String
) : VersionControlLabelDocument

Parameters

Return Value

Type: Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlLabelDocument
A VersionControlLabelDocument that has just been opened.

.NET Framework Security

See Also

Reference

VersionControlLabelExt Class

OpenLabel Overload

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace