The File type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
File()()()() |
Default constructor
|
![]() |
File(DepotPath, ClientPath, Revision, Revision, Int32, FileAction, FileType, DateTime, String, String) |
Fully parameterized constructor
|
Methods
Name | Description | |
---|---|---|
![]() |
Equals |
Compare this FileSpec with another
(Inherited from FileSpec.) |
![]() |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() |
FromFilesCmdTaggedData |
Return a File from a parsed Tagged Object
|
![]() |
GetHashCode |
Get the hashcode for this FileSpec
(Inherited from FileSpec.) |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ParseFilesCmdTaggedData |
Given a Tagged object from the server, instantiate this File from the object
|
![]() |
StripVersion |
Create a copy of a filespec without a version
(Inherited from FileSpec.) |
![]() |
ToEscapedString |
Create an Perforce excaped string describing this FileSpec
(Inherited from FileSpec.) |
![]() |
ToString()()()() |
Create a string representing a FileSpec
(Inherited from FileSpec.) |
![]() |
ToString(Type) |
Create a descriptive string for this FileSpec of the specified Type
(Inherited from FileSpec.) |
Fields
Name | Description | |
---|---|---|
![]() |
Action |
Last Action taken on this file
|
![]() |
ChangeId |
What change contains this file?
|
![]() |
Client |
The client/workspace name which contains this file.
|
![]() |
HaveRev |
The revision of this file which is in the client/workspace
|
![]() |
SubmitTime |
DateTime when file was last submitted
|
![]() |
Type |
FileType of the file
|
![]() |
User |
The user which created this file
|
Properties
Name | Description | |
---|---|---|
![]() |
ClientPath |
Gets or sets the client path
(Inherited from FileSpec.) |
![]() |
DepotPath |
Gets or sets the depot path
(Inherited from FileSpec.) |
![]() |
LocalPath |
Gets or sets the Local path
(Inherited from FileSpec.) |
![]() |
Version |
Gets or sets the VersionSpec
(Inherited from FileSpec.) |