IVsaEngine.SaveSourceState 方法
指示脚本引擎将其源状态保存到指定 IVsaPersistSite 对象。
命名空间: Microsoft.Vsa
程序集: Microsoft.Vsa(在 Microsoft.Vsa.dll 中)
语法
声明
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Sub SaveSourceState ( _
site As IVsaPersistSite _
)
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
void SaveSourceState(
IVsaPersistSite site
)
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
void SaveSourceState(
IVsaPersistSite^ site
)
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract SaveSourceState :
site:IVsaPersistSite -> unit
function SaveSourceState(
site : IVsaPersistSite
)
参数
site
类型:Microsoft.Vsa.IVsaPersistSiteIVsaPersistSite 接口建立的用于保存源状态的站点。