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
)
매개 변수
- method
형식: System.CodeDom.CodeMemberMethod
문을 추가하기 위해 검색되는 메서드 정의입니다.
- statements
형식: System.CodeDom.CodeStatementCollection
메서드 끝에 추가할 CodeDOM 문의 목록입니다.
- relativePosition
형식: System.Int32
문을 삽입할 줄 번호입니다.
설명
메서드 본문이 아직 없는 경우 메서드는 만들어지지 않습니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.