IVsaPersistSite.LoadElement Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the source string previously saved using the SaveElement method.

Namespace:  Microsoft.Vsa
Assembly:  Microsoft.Vsa (in Microsoft.Vsa.dll)

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Function LoadElement ( _
    name As String _
) As String
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
string LoadElement(
    string name
)
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
String^ LoadElement(
    String^ name
)
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract LoadElement : 
        name:string -> string
function LoadElement(
    name : String
) : String

Parameters

  • name
    Type: System.String

    The name of the code item to be loaded. This can be a null reference when loading the Project file.

Return Value

Type: System.String
Returns the contents of the source-code element associated with the name parameter.

See Also

Reference

IVsaPersistSite Interface

Microsoft.Vsa Namespace