Share via


IVsaPersistSite.SaveElement 메서드

지정된 이름 매개 변수를 사용하여 임의의 소스 문자열을 저장한 다음 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 네임스페이스