IVsaCodeItem.AppendSourceText (Método)

Anexa el texto especificado al final del elemento de código.

Espacio de nombres:  Microsoft.Vsa
Ensamblado:  Microsoft.Vsa (en Microsoft.Vsa.dll)

Sintaxis

'Declaración
<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
)

Parámetros

  • text
    Tipo: String

    Texto que se va a anexar al elemento de código.

Comentarios

Texto de origen anexado no está sujeto a validación. Por este motivo, los errores, si los hay, se detectarán en la siguiente llamada al método IVsaEngine.Compile.

El texto de origen anexado se proporciona como una sola cadena. La cadena requiere formato, debe proporcionar usted mismo.

Vea también

Referencia

IVsaCodeItem Interfaz

Microsoft.Vsa (Espacio de nombres)