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
- docCookie
Type: System.UInt32
The document cookie
Return Value
Type: System.Int32
Returns VSConstants.S_OK.
Implements
IVsRunningDocTableEvents3.OnBeforeSave(UInt32)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Project.MPF Namespace