Compartir a través de


ICodeInjectionService.AppendStatements (Método)

Anexa una colección de instrucciones CodeDOM al controlador de eventos especificado.

Espacio de nombres:  Microsoft.Windows.Design.Services
Ensamblado:  Microsoft.Windows.Design.Interaction (en Microsoft.Windows.Design.Interaction.dll)

Sintaxis

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

Parámetros

  • relativePosition
    Tipo: System.Int32
    Número de la línea en la que se van a insertar las instrucciones.

Comentarios

No se crea el método si aún no existe un cuerpo del método.

Seguridad de .NET Framework

Vea también

Referencia

ICodeInjectionService Interfaz

Microsoft.Windows.Design.Services (Espacio de nombres)