مشاركة عبر


IVsaPersistSite.LoadElement Method

Gets the source string previously saved using the SaveElement() method.

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

Syntax

'إقرار
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Function LoadElement ( _
    name As String _
) As String
'الاستخدام
Dim instance As IVsaPersistSite
Dim name As String
Dim returnValue As String

returnValue = instance.LoadElement(name)
[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

IVsaPersistSite Members

Microsoft.Vsa Namespace