IVsaCodeItem.AppendSourceText Method
Appends specified text to the end of the code item.
Namespace: Microsoft.Vsa
Assembly: Microsoft.Vsa (in Microsoft.Vsa.dll)
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Sub AppendSourceText ( _
text As String _
)
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
void AppendSourceText(
string text
)
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
void AppendSourceText(
String^ text
)
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract AppendSourceText :
text:string -> unit
function AppendSourceText(
text : String
)
Parameters
text
Type: System.StringThe 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.