IVsaPersistSite.SaveElement Method
Saves an arbitrary source string with a given name parameter, which can then be used in a call to the LoadElement() method to reload the string.
Namespace: Microsoft.Vsa
Assembly: Microsoft.Vsa (in Microsoft.Vsa.dll)
Syntax
'إقرار
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Sub SaveElement ( _
name As String, _
source As String _
)
'الاستخدام
Dim instance As IVsaPersistSite
Dim name As String
Dim source As String
instance.SaveElement(name, source)
[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
)
Parameters
- name
Type: System.String
A name to associate with the specified source item. This can be a null reference when saving the Project file.
- source
Type: System.String
The source string for the item.