IVSSItem MembersĀ 

Represents a file or a project within the SourceSafe database.

The following tables list the members exposed by the IVSSItem type.

Public Properties

  Name Description
Public property AutoDetectEncoding Gets or sets a value indicating an autodetection encoding of a file. 
Public property Binary Gets or sets a value indicating whether a particular file is binary. 
Public property Checkouts Gets a reference of the IVSSCheckouts type to an object that represents a IVSSCheckouts collection of a file. 
Public property Child Gets a reference of the IVSSItem type to an object that represents a child of a project.  
Public property CRC Gets the CRC value of the latest checked in version of the file. 
Public property Deleted Gets or sets a value indicating whether a particular file or a project is deleted. 
Public property Encoding Gets or sets a value indicating encoding type of a file.  
Public property IsCheckedOut Gets a value indicating whether a particular file is checked out. 
Public property IsDifferent Gets a value indicating whether a master SourceSafe file is different from its local copy.  
Public property IsPinned Gets a value that indicates if the item is pinned. 
Public property Items Gets a reference of the IVSSItems type to an object that represents a collection of all children (files and projects) of a project. 
Public property Links Gets a reference of the IVSSItems type to an object that represents a collection of projects that share common files or projects.  
Public property LocalSpec Gets or sets a fully qualified path of a working folder of a file or a project. 
Public property Name Gets or sets a name of a file or a project.  
Public property Parent Gets a reference of the IVSSItem type to an object that represents a parent of a file or a project.  
Public property Physical Gets a string representing an internal SourceSafe name of a file or a project. 
Public property Size Gets a value that represents the physical size of the latest version of the file in the store. 
Public property Spec Gets a fully qualified SourceSafe path to a file or a project. 
Public property Type Gets a value indicating whether a particular item is a file or a project. 
Public property Version Gets a reference of the IVSSItem type to an object that represents a particular IVSSVersion of a file or a project in the IVSSVersions collection.  
Public property VersionNumber Gets a IVSSVersion number of a file or a project.  
Public property Versions Gets a reference of the IVSSVersions type to an object that represents a collection of all versions of a file or a project. 
Public property VSSVersion Gets a reference of the IVSSVersion type to an object that represents a version of a particular file or a project in the SourceSafe database.  

Top

Public Methods

  Name Description
Public method Add Adds a file to a project.  
Public method AddWithEncoding Adds a file with encoding to a project.  
Public method Branch Branches a file that has been shared between one or more projects.  
Public method Checkin Checks in a checked-out file or project to the SourceSafe database.  
Public method Checkout Checks out a file or project from the SourceSafe database.  
Public method Destroy Permanently removes deleted files, non-deleted files, deleted projects, or non-deleted projects from the SourceSafe database.  
Public method Get Gets a file or a project.  
Public method Label Applies a label to a file or a project.  
Public method Move Moves a subproject from the current parent project to a new parent project.  
Public method NewSubproject Creates a subproject under the current project.  
Public method Share Creates a share link between two projects for a file or a project.  
Public method UndoCheckout Implements undo checkout of a checked-out file or a checked-out project.  

Top

See Also

Reference

IVSSItem Interface
Microsoft.VisualStudio.SourceSafe.Interop Namespace