Share via


DocData.SaveCompleted Method

Alerts listeners that the document has been saved.

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

Syntax

'Declaration
Public Function SaveCompleted ( _
    fileName As String _
) As Integer
public int SaveCompleted(
    string fileName
)
public:
virtual int SaveCompleted(
    String^ fileName
) sealed
abstract SaveCompleted : 
        fileName:string -> int  
override SaveCompleted : 
        fileName:string -> int
public final function SaveCompleted(
    fileName : String
) : int

Parameters

  • fileName
    Type: String

    The name of the document.

Return Value

Type: Int32
S_OK if the method succeeds; otherwise, it returns an error code.

Implements

IPersistFileFormat.SaveCompleted(String)

Remarks

This method implements the IPersistFileFormat interface.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace