다음을 통해 공유


IPersistFileFormat.SaveCompleted Method

Notifies the object that it has concluded the Save transaction and that the object can write to its file.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

‘선언
Function SaveCompleted ( _
    pszFilename As String _
) As Integer
‘사용 방법
Dim instance As IPersistFileFormat
Dim pszFilename As String
Dim returnValue As Integer

returnValue = instance.SaveCompleted(pszFilename)
int SaveCompleted(
    string pszFilename
)
int SaveCompleted(
    [InAttribute] String^ pszFilename
)
abstract SaveCompleted : 
        pszFilename:string -> int 
function SaveCompleted(
    pszFilename : String
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From fpstfmt.idl:

HRESULT IPersistFileFormat::SaveCompleted(
   [in] LPCOLESTR pszFilename
);

This method is similar to IPersistFile.SaveCompletedThe save action is accomplished by notifying the object that it can revert from NoScribble mode, in which it must not write to its file, to Normal mode, in which it can write to its file. The component enters NoScribble mode when it receives an Save call.

.NET Framework Security

See Also

Reference

IPersistFileFormat Interface

IPersistFileFormat Members

Microsoft.VisualStudio.Shell.Interop Namespace