Bewerken

Share via


IVsaPersistSite Interface

Definition

Caution

Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.

Manages project persistence and stores and retrieves code and other items using save and load operations implemented by the host.

public interface class IVsaPersistSite
[System.Runtime.InteropServices.Guid("E0C0FFE3-7eea-4ee2-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsaPersistSite
[System.Runtime.InteropServices.Guid("E0C0FFE3-7eea-4ee2-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
public interface IVsaPersistSite
[<System.Runtime.InteropServices.Guid("E0C0FFE3-7eea-4ee2-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsaPersistSite = interface
[<System.Runtime.InteropServices.Guid("E0C0FFE3-7eea-4ee2-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")>]
type IVsaPersistSite = interface
Public Interface IVsaPersistSite
Attributes

Methods

LoadElement(String)

Gets the source string previously saved using the SaveElement method.

SaveElement(String, String)

Saves an arbitrary source string with a given name parameter, which can then be used in a call to the LoadElement method to reload the string.

Applies to