IJSVsaPersistSite.LoadElement(String) 方法

定义

获取以前使用 SaveElement(String, String) 方法保存的源字符串。Gets the source string previously saved using the SaveElement(String, String) method.

public:
 System::String ^ LoadElement(System::String ^ name);
public string LoadElement (string name);
abstract member LoadElement : string -> string
Public Function LoadElement (name As String) As String

参数

name
String

要加载的代码项的名称。The name of the code item to be loaded. 加载项目文件时,此名称可以是空引用。This can be a null reference when loading the Project file.

返回

String

与名称参数关联的源代码元素的内容。The contents of the source-code element associated with the name parameter.

适用于