This documentation is archived and is not being maintained.

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: