IVsaPersistSite Interfejs

Definicja

Przestroga

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.

Zarządza trwałością projektu i przechowuje i pobiera kod oraz inne elementy przy użyciu operacji zapisywania i ładowania implementowanych przez hosta.

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
Atrybuty

Metody

LoadElement(String)
Przestarzałe.

Pobiera wcześniej zapisany ciąg źródłowy przy użyciu metody SaveElement.

SaveElement(String, String)
Przestarzałe.

Zapisuje dowolny ciąg źródłowy z podanym parametrem nazwy, który można następnie użyć w wywołaniu metody LoadElement w celu ponownego załadowania ciągu.

Dotyczy