Workspace.AddIgnoreFileExclusion Method

Adds an ignore file exclusion to the specified .tfignore file.

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

public void AddIgnoreFileExclusion(
	string fileSpecToExclude,
	string ignoreFileDirectory
)

Parameters

fileSpecToExclude
Type: System.String

Ignore glob to add to the .tfignore file

ignoreFileDirectory
Type: System.String

Directory whose .tfignore file should be used

Show: