DatabaseProjectFileManagerService.EnableFileWatcher Method
Used to enable or disable file-watching events.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Public Sub EnableFileWatcher ( _
enable As Boolean _
)
public void EnableFileWatcher(
bool enable
)
public:
void EnableFileWatcher(
bool enable
)
member EnableFileWatcher :
enable:bool -> unit
public function EnableFileWatcher(
enable : boolean
)
Parameters
- enable
Type: System.Boolean
true to enable project file watching. false to turn file watching off.
Remarks
The project system uses the file watcher when batch events such as drag and drop occur and you want to process everything at the end.
.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.
See Also
Reference
DatabaseProjectFileManagerService Class
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace