IVsaPersistSite.SaveElement メソッド

指定した name パラメーターで、任意のソース文字列を保存します。後で、LoadElement メソッドを呼び出して文字列を再読み込みするときに使用できます。

名前空間:  Microsoft.Vsa
アセンブリ:  Microsoft.Vsa (Microsoft.Vsa.dll 内)

構文

'宣言
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Sub SaveElement ( _
    name As String, _
    source As String _
)
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
void SaveElement(
    string name,
    string source
)
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
void SaveElement(
    String^ name, 
    String^ source
)
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract SaveElement : 
        name:string * 
        source:string -> unit
function SaveElement(
    name : String, 
    source : String
)

パラメーター

  • name
    型 : String

    指定したソース項目に関連付ける名前。 プロジェクト ファイルを保存するときは、null 参照にできます。

  • source
    型 : String

    項目のソース文字列。

参照

関連項目

IVsaPersistSite インターフェイス

Microsoft.Vsa 名前空間