IVsaPersistSite.SaveElement(String, String) Method

Definition

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.

public:
 void SaveElement(System::String ^ name, System::String ^ source);
public void SaveElement (string name, string source);
abstract member SaveElement : string * string -> unit
Public Sub SaveElement (name As String, source As String)

Parameters

name
String

A name to associate with the specified source item. This can be a null reference when saving the Project file.

source
String

The source string for the item.

Applies to