다음을 통해 공유


SyntaxTriviaList.ReplaceRange 메서드

정의

지정된 요소가 새 SyntaxTriviaList 퀴즈로 바뀐 새 요소를 만듭니다.

public:
 Microsoft::CodeAnalysis::SyntaxTriviaList ReplaceRange(Microsoft::CodeAnalysis::SyntaxTrivia triviaInList, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxTrivia> ^ newTrivia);
public Microsoft.CodeAnalysis.SyntaxTriviaList ReplaceRange (Microsoft.CodeAnalysis.SyntaxTrivia triviaInList, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> newTrivia);
member this.ReplaceRange : Microsoft.CodeAnalysis.SyntaxTrivia * seq<Microsoft.CodeAnalysis.SyntaxTrivia> -> Microsoft.CodeAnalysis.SyntaxTriviaList
Public Function ReplaceRange (triviaInList As SyntaxTrivia, newTrivia As IEnumerable(Of SyntaxTrivia)) As SyntaxTriviaList

매개 변수

triviaInList
SyntaxTrivia

바꿀 퀴즈 요소입니다.

newTrivia
IEnumerable<SyntaxTrivia>

요소를 바꿀 퀴즈입니다.

반환

적용 대상