IVsaCodeItem.AppendSourceText(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.