共用方式為


ExtendedItem.SourceServerItem Property

Repository path of this item (e.g. $/Sample/MyFile.cs) at VersionLatest.

If the item has a pending rename, this reflects the original name.

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)> _
Public Property SourceServerItem As String
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public string SourceServerItem { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public:
property String^ SourceServerItem {
    String^ get ();
    void set (String^ value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
member SourceServerItem : string with get, set
function get SourceServerItem () : String 
function set SourceServerItem (value : String)

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

ExtendedItem Class

Microsoft.TeamFoundation.VersionControl.Server Namespace