ItemIdentifier Constructor (String, VersionSpec)
Creates an item identifier for an item and specified version.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub New ( _
item As String, _
version As VersionSpec _
)
public ItemIdentifier(
string item,
VersionSpec version
)
public:
ItemIdentifier(
String^ item,
VersionSpec^ version
)
new :
item:string *
version:VersionSpec -> ItemIdentifier
public function ItemIdentifier(
item : String,
version : VersionSpec
)
Parameters
item
Type: System.StringThe path of the local or server item.
version
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecA VersionSpec that is used for the identifier.
.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.