IVsaPersistSite 接口

注意:此 API 现在已过时。

对项目持久性进行管理,并对使用由宿主实现的保存和加载操作的代码和其他项进行存储和检索。

命名空间:  Microsoft.Vsa
程序集:  Microsoft.Vsa(在 Microsoft.Vsa.dll 中)

语法

声明
<ObsoleteAttribute("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.")> _
<GuidAttribute("E0C0FFE3-7eea-4ee2-b7e4-0080c7eb0b74")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsaPersistSite
[ObsoleteAttribute("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.")]
[GuidAttribute("E0C0FFE3-7eea-4ee2-b7e4-0080c7eb0b74")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsaPersistSite
[ObsoleteAttribute(L"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.")]
[GuidAttribute(L"E0C0FFE3-7eea-4ee2-b7e4-0080c7eb0b74")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsaPersistSite
[<ObsoleteAttribute("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.")>]
[<GuidAttribute("E0C0FFE3-7eea-4ee2-b7e4-0080c7eb0b74")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsaPersistSite =  interface end
public interface IVsaPersistSite

IVsaPersistSite 类型公开以下成员。

方法

  名称 说明
公共方法 LoadElement 获取以前使用 SaveElement 方法保存的源字符串。
公共方法 SaveElement 使用给定名称参数保存任意源字符串,然后可在调用 LoadElement 方法时使用以便重载该字符串。

页首

请参阅

参考

Microsoft.Vsa 命名空间