The FileSpec type exposes the following members.

Constructors

  Name Description
Public method FileSpec()()()()
Initializes a new instance of the FileSpec class
Public method FileSpec(FileSpec)
Initializes a new instance of the FileSpec class
Public method FileSpec(PathSpec, VersionSpec)
Initializes a new instance of the FileSpec class
Public method FileSpec(DepotPath, ClientPath, LocalPath, VersionSpec)
Initializes a new instance of the FileSpec class

Methods

  Name Description
Public method Static member ClientSpec(String)
Public method Static member ClientSpec(String, Int32)
Public method Static member ClientSpecList
Create a list of FileSpec objects from a list of client paths
Public method Static member DepotSpec(String)
Public method Static member DepotSpec(String, Int32)
Public method Static member DepotSpecList
Create a list of FileSpec objects from a list of depot paths
Public method Equals (Overrides Object..::..Equals(Object).)
Protected method 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.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method Static member LocalSpec(String)
Public method Static member LocalSpec(String, Int32)
Public method Static member LocalSpecArray(IList<(Of <<'(String>)>>))
Create an array of FileSpec objects from a list of local paths
Public method Static member LocalSpecArray(array<String>[]()[][])
Create an array of FileSpec objects from a list of local paths
Public method Static member LocalSpecList(IList<(Of <<'(String>)>>))
Create a list of FileSpec objects from a list of local paths
Public method Static member LocalSpecList(array<String>[]()[][])
Create a list of FileSpec objects from a list of local paths
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method StripVersion
Create a copy of a filespec without a version
Public method Static member ToEscapedLocalPaths
Copy the non-null entries into a new string array containing the local paths escaped for special characters
Public method Static member ToEscapedPaths
Copy the non-null entries into a new string array containing the paths escaped for special characters
Public method ToEscapedString
Public method Static member ToEscapedStrings(array<FileSpec>[]()[][])
Copy the non-null entries into a new string array with the paths escaped for special characters
Public method Static member ToEscapedStrings(IList<(Of <<'(FileSpec>)>>))
Copy the non-null entries into a new string array with the paths escaped for special characters
Public method Static member ToPaths
Copy the non-null entries into a new string array containing the paths.
Public method ToString()()()() (Overrides Object..::..ToString()()()().)
Public method ToString(Type)
Public method Static member ToStrings(array<FileSpec>[]()[][])
Copy the non-null entries into a new string array.
Public method Static member ToStrings(IList<(Of <<'(FileSpec>)>>))
Copy the non-null entries into a new string array.
Public method Static member UnversionedSpecList
Copies a list of FileSpec objects without vesions

Properties

  Name Description
Public property ClientPath
Public property DepotPath
Public property LocalPath
Public property Version

See Also