Share via


RdtListener.OnBeforeSave Method

Called before the document is saved.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project.MPF
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Overridable Function OnBeforeSave ( _
    docCookie As UInteger _
) As Integer
'Usage
Dim instance As RdtListener
Dim docCookie As UInteger
Dim returnValue As Integer

returnValue = instance.OnBeforeSave(docCookie)
public virtual int OnBeforeSave(
    uint docCookie
)
public:
virtual int OnBeforeSave(
    unsigned int docCookie
)
public function OnBeforeSave(
    docCookie : uint
) : int
abstract OnBeforeSave : 
        docCookie:uint32 -> int 
override OnBeforeSave : 
        docCookie:uint32 -> int 

Parameters

Return Value

Type: System.Int32
Returns VSConstants.S_OK.

Implements

IVsRunningDocTableEvents3.OnBeforeSave(UInt32)

.NET Framework Security

See Also

Reference

RdtListener Class

RdtListener Members

Microsoft.VisualStudio.Data.Schema.Project.Project.MPF Namespace