DocData.SaveCompleted Method

Alerts listeners that the document has been saved.

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

Syntax

'宣言
Public Function SaveCompleted ( _
    fileName As String _
) As Integer
'使用
Dim instance As DocData
Dim fileName As String
Dim returnValue As Integer

returnValue = instance.SaveCompleted(fileName)
public int SaveCompleted(
    string fileName
)
public:
virtual int SaveCompleted(
    String^ fileName
) sealed
public final function SaveCompleted(
    fileName : String
) : int

Parameters

Return Value

Type: System.Int32

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

Implements

IPersistFileFormat.SaveCompleted(String)

Remarks

This method implements the IPersistFileFormat interface.

Permissions

See Also

Reference

DocData Class

DocData Members

Microsoft.VisualStudio.Modeling.Shell Namespace