Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TswaHyperlinkBuilder.GetViewSourceControlItemUrl Method (String, String, String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets a view source control item URL.

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
public Uri GetViewSourceControlItemUrl(
	string serverItemPath,
	string versionSpec,
	string accessMappingMoniker
)

Parameters

serverItemPath
Type: System.String

A server item path.

versionSpec
Type: System.String

Server item version specification.

accessMappingMoniker
Type: System.String

A moniker for the desired access mapping.

Return Value

Type: System.Uri
A view item URL.

versionSpec can be one of the following:

  1. Empty | null

  2. Latest version integer less than 1

  3. Latest version integer greater than or equal to 1

  4. Changeset number C{changesetNumber}, L{Label}, D{Date} T

  5. Latest version T{VersionSpec}

  6. Tip version of the item at the version specified by VersionSpec

  7. P{VersionSpec} - Previous version of the item at the version specified by VersionSpec.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.