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