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)
Syntax
'Declaration
Public Sub AddIgnoreFileExclusion ( _
fileSpecToExclude As String, _
ignoreFileDirectory As String _
)
public void AddIgnoreFileExclusion(
string fileSpecToExclude,
string ignoreFileDirectory
)
public:
void AddIgnoreFileExclusion(
String^ fileSpecToExclude,
String^ ignoreFileDirectory
)
member AddIgnoreFileExclusion :
fileSpecToExclude:string *
ignoreFileDirectory:string -> unit
public function AddIgnoreFileExclusion(
fileSpecToExclude : String,
ignoreFileDirectory : String
)
Parameters
fileSpecToExclude
Type: System.StringIgnore glob to add to the .tfignore file
ignoreFileDirectory
Type: System.StringDirectory whose .tfignore file should be used
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.