Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets a view source control item URL.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Function GetViewSourceControlItemUrl ( _
itemId As Integer, _
versionSpec As String _
) As Uri
public Uri GetViewSourceControlItemUrl(
int itemId,
string versionSpec
)
public:
Uri^ GetViewSourceControlItemUrl(
int itemId,
String^ versionSpec
)
member GetViewSourceControlItemUrl :
itemId:int *
versionSpec:string -> Uri
public function GetViewSourceControlItemUrl(
itemId : int,
versionSpec : String
) : Uri
Parameters
itemId
Type: System.Int32A source control item ID.
versionSpec
Type: System.StringSource control item version specification.
Return Value
Type: System.Uri
A view item URL.
Remarks
versionSpec can be one of the following:
Empty | null
Latest version integer less than 1
Latest version integer greater than or equal to 1
Changeset number C{changesetNumber}, L{Label}, D{Date} T
Latest version T{VersionSpec}
Tip version of the item at the version specified by VersionSpec
P{VersionSpec} - Previous version of the item at the version specified by VersionSpec.
.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.