共用方式為


VersionControlArtifactProvider Class

Provides methods to retrieve version control artifacts according to the object model.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.VersionControlArtifactProvider

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

Syntax

'宣告
Public Class VersionControlArtifactProvider _
    Implements IArtifactProvider
public class VersionControlArtifactProvider : IArtifactProvider
public ref class VersionControlArtifactProvider : IArtifactProvider
type VersionControlArtifactProvider =  
    class
        interface IArtifactProvider
    end
public class VersionControlArtifactProvider implements IArtifactProvider

The VersionControlArtifactProvider type exposes the following members.

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetArtifactDocument
Public method GetArtifactType Gets the type of the version control artifact that is associated with the specified URI.
Public method GetChangeset Gets the changeset that is associated with the specified URI.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLabel Gets the label that is associated with the specified URI.
Public method GetLatestItemVersion
Public method GetShelveset Gets the shelveset that is associated with the specified URI.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetVersionedItem Gets a specific version of an item.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Client Namespace