Επεξεργασία

Κοινή χρήση μέσω


IVsaCodeItem.AppendSourceText(String) Method

Definition

Appends specified text to the end of the code item.

public:
 void AppendSourceText(System::String ^ text);
public void AppendSourceText (string text);
abstract member AppendSourceText : string -> unit
Public Sub AppendSourceText (text As String)

Parameters

text
String

The text to be appended to the code item.

Remarks

Appended source text is not subjected to validation. For this reason, errors, if any, will surface on the next call to the IVsaEngine.Compile method.

The appended source text is provided as a single string. Should the string require any formatting, you must provide this yourself.

Applies to