VersionControlLabelExt.OpenLabel Method (String, String, String)
Opens a new label document window, given the name, scope, and owner of the label.
This method may throw a LabelNotFoundException or LabelNotUniqueException, among others.
Namespace: Microsoft.VisualStudio.TeamFoundation.VersionControl
Assembly: Microsoft.VisualStudio.TeamFoundation.VersionControl (in Microsoft.VisualStudio.TeamFoundation.VersionControl.dll)
Syntax
'Declaration
Public Function OpenLabel ( _
labelName As String, _
labelScope As String, _
labelOwner As String _
) As VersionControlLabelDocument
public VersionControlLabelDocument OpenLabel(
string labelName,
string labelScope,
string labelOwner
)
public:
VersionControlLabelDocument^ OpenLabel(
String^ labelName,
String^ labelScope,
String^ labelOwner
)
member OpenLabel :
labelName:string *
labelScope:string *
labelOwner:string -> VersionControlLabelDocument
public function OpenLabel(
labelName : String,
labelScope : String,
labelOwner : String
) : VersionControlLabelDocument
Parameters
labelName
Type: System.StringThe name of the label to open.
labelScope
Type: System.StringThe scope of the label to open.
labelOwner
Type: System.StringThe owner of the label to open (can be null.)
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