ICodeInjectionService.AppendStatements-Methode

Fügt eine Auflistung mit CodeDOM-Anweisungen an den angegebenen Ereignishandler an.

Namespace:  Microsoft.Windows.Design.Services
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Sub AppendStatements ( _
    method As CodeMemberMethod, _
    statements As CodeStatementCollection, _
    relativePosition As Integer _
)
void AppendStatements(
    CodeMemberMethod method,
    CodeStatementCollection statements,
    int relativePosition
)
void AppendStatements(
    CodeMemberMethod^ method, 
    CodeStatementCollection^ statements, 
    int relativePosition
)
abstract AppendStatements : 
        method:CodeMemberMethod * 
        statements:CodeStatementCollection * 
        relativePosition:int -> unit 
function AppendStatements(
    method : CodeMemberMethod, 
    statements : CodeStatementCollection, 
    relativePosition : int
)

Parameter

  • relativePosition
    Typ: System.Int32
    Die Zeilennummer zum Einfügen der Anweisungen.

Hinweise

Die Methode wird nicht erstellt, wenn ein Methodentext nicht bereits vorhanden ist.

.NET Framework-Sicherheit

Siehe auch

Referenz

ICodeInjectionService Schnittstelle

Microsoft.Windows.Design.Services-Namespace