IVstaHostAdapterEvents.DocumentSaved Method
Event handler that is called when you save a document in a Visual Studio Tools for Applications project.
Namespace: Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop
Assembly: Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0.dll)
Syntax
'Declaration
Sub DocumentSaved ( _
sender As Object, _
e As IDocumentSavedEventArgs _
)
'Usage
Dim instance As IVstaHostAdapterEvents
Dim sender As Object
Dim e As IDocumentSavedEventArgs
instance.DocumentSaved(sender, e)
void DocumentSaved(
Object sender,
IDocumentSavedEventArgs e
)
void DocumentSaved(
Object^ sender,
IDocumentSavedEventArgs^ e
)
function DocumentSaved(
sender : Object,
e : IDocumentSavedEventArgs
)
Parameters
sender
Type: System.ObjectThe source of the event.
e
Type: Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop.IDocumentSavedEventArgsThe event data.
.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
IVstaHostAdapterEvents Interface
IVstaHostAdapterEvents Members
Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop Namespace