DocData.SuspendFileChangeNotification Method
Suspends the distribution of document-change notifications for the document.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'宣告
Protected Sub SuspendFileChangeNotification ( _
fileName As String _
)
protected void SuspendFileChangeNotification(
string fileName
)
protected:
void SuspendFileChangeNotification(
String^ fileName
)
member SuspendFileChangeNotification :
fileName:string -> unit
protected function SuspendFileChangeNotification(
fileName : String
)
Parameters
- fileName
Type: System.String
The file name of the document.
Remarks
This method is helpful if you want to avoid file reload messages for subordinate files.
.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.