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
labelUri
Type: System.StringThe label URI to open
Return Value
Type: Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlLabelDocument
A VersionControlLabelDocument that has just been opened.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace