共用方式為


IVsFileChangeEx2.IgnoreDir(String, Boolean) Method

Definition

Ignores or un-ignores changes in a directory and its subdirectories.

public:
 void IgnoreDir(System::String ^ directory, bool ignore);
public:
 void IgnoreDir(Platform::String ^ directory, bool ignore);
void IgnoreDir(std::wstring const & directory, bool ignore);
public void IgnoreDir (string directory, bool ignore);
abstract member IgnoreDir : string * bool -> unit
Public Sub IgnoreDir (directory As String, ignore As Boolean)

Parameters

directory
String

The directory to ignore.

ignore
Boolean

If true, the directory is ignored; if false, the directory is unignored.

Remarks

This method must be accessed on the main thread.

Applies to