Поделиться через


VersionControlFolderDifferenceItem Class

Encapsulate an item in a Folder Difference results view.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlFolderDifferenceItem

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

Syntax

'Declaration
Public NotInheritable Class VersionControlFolderDifferenceItem
public sealed class VersionControlFolderDifferenceItem
public ref class VersionControlFolderDifferenceItem sealed
[<Sealed>]
type VersionControlFolderDifferenceItem =  class end
public final class VersionControlFolderDifferenceItem

The VersionControlFolderDifferenceItem type exposes the following members.

Properties

  Name Description
Public property Error Get the encountered error.
Public property IsFolder true if the item is a folder, false if the item is a file.
Public property ItemId Get the item Id if it is versioned.
Public property PendingChange Get the pending change associated with this item.
Public property SourcePath Get the item source path.
Public property State Get the item compared state.
Public property TargetPath Get the item target path.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (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.VisualStudio.TeamFoundation.VersionControl Namespace