Share via


DocData.SuspendFileChangeNotification Method

Suspends the distribution of document-change notifications for the document.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
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: 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

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace