File Members

TFS Build Extensions

Collapse imageExpand ImageCopy imageCopyHover image

The File type exposes the following members.

Constructors

  NameDescription
Public methodFile

Properties

  NameDescription
Public propertyAction
Specifies the action to perform
Public propertyAttributes
The File attributes
Public propertyChecksum
Gets the file checksum
Public propertyFiles
An ItemList of files to process. If calling SetAttributes, RemoveAttributes or AddAttributes, include the attributes in an Attributes metadata tag, separated by a semicolon.
Public propertyPath
A path to process or get. Use * for recursive folder processing. For the GetChecksum TaskAction, this indicates the path to the file to create a checksum for.
Public propertyRegexPattern
Sets the regex pattern.
Public propertyReplacement
The replacement text to use. Default is string.Empty
Public propertyTargetPath
Sets the TargetPath for a renamed file
Public propertyTextEncoding
The file encoding to write the new file in. The task will attempt to default to the current file encoding.

See Also