IVsaPersistSite Interface
Manages project persistence and stores and retrieves code and other items using save and load operations implemented by the host.
public: _interface IVsaPersistSite;
public interface IVsaPersistSite
Public Interface IVsaPersistSite
Properties
The IVsaPersistSite interface has no properties.
Methods
The following table shows the methods of the IVsaPersistSite interface.
Method |
Description |
---|---|
Gets the source string previously saved using the IVsaPersistSite.SaveElement method. |
|
Saves an arbitrary source string with a given name parameter, which can then be used in a call to the IVsaPersistSite.LoadElement method to reload the string. |
Remarks
The actual media used to store the source text, such as the file system, structured storage object, or database, and the way in which the text is saved and retrieved, are determined by the host-specific implementation of the IVsaPersistSite interface.
Implement the IVsaPersistSite interface when establishing a location to which to save or retrieve source-code items for a Visual Studio for Applications script engine.
Requirements
DLL: Microsoft.Vsa.dll