共用方式為


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

Remarks

This method is helpful if you want to avoid file reload messages for subordinate files.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace