共用方式為


IVsaPersistSite 介面

定義

警告

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 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
屬性

方法

LoadElement(String)
已淘汰.

取得先前使用 SaveElement 方法儲存的來源字串。

SaveElement(String, String)
已淘汰.

以指定名稱參數儲存任意來源字串,然後可以在 LoadElement 方法的呼叫中使用該字串來重新載入字串。

適用於