ICodeInjectionService.AppendStatements 메서드

지정된 이벤트 처리기에 CodeDOM 문의 컬렉션을 추가합니다.

네임스페이스:  Microsoft.Windows.Design.Services
어셈블리:  Microsoft.Windows.Design.Interaction(Microsoft.Windows.Design.Interaction.dll)

구문

‘선언
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
)

매개 변수

  • relativePosition
    형식: System.Int32
    문을 삽입할 줄 번호입니다.

설명

메서드 본문이 아직 없는 경우 메서드는 만들어지지 않습니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

ICodeInjectionService 인터페이스

Microsoft.Windows.Design.Services 네임스페이스