共用方式為


ExtendedItem.TargetServerItem Property

Repository path of this item (e.g. $/Sample/MyFile.cs) at VersionLatest except when the item has a pending rename, in which case this reflects the target 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 TargetServerItem As String
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public string TargetServerItem { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public:
property String^ TargetServerItem {
    String^ get ();
    void set (String^ value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
member TargetServerItem : string with get, set
function get TargetServerItem () : String 
function set TargetServerItem (value : String)

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

ExtendedItem Class

Microsoft.TeamFoundation.VersionControl.Server Namespace