다음을 통해 공유


CompilationUnitSyntax.Update 메서드

정의

지정된 변경 내용이 포함된 복사본을 반환합니다. 실제 변경 내용이 없으면 이 인스턴스를 반환합니다.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::CompilationUnitSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::OptionStatementSyntax ^> options, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ImportsStatementSyntax ^> imports, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributesStatementSyntax ^> attributes, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> members, Microsoft::CodeAnalysis::SyntaxToken endOfFileToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CompilationUnitSyntax Update (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.OptionStatementSyntax> options, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportsStatementSyntax> imports, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributesStatementSyntax> attributes, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> members, Microsoft.CodeAnalysis.SyntaxToken endOfFileToken);
member this.Update : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.OptionStatementSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportsStatementSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributesStatementSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CompilationUnitSyntax
Public Function Update (options As SyntaxList(Of OptionStatementSyntax), imports As SyntaxList(Of ImportsStatementSyntax), attributes As SyntaxList(Of AttributesStatementSyntax), members As SyntaxList(Of StatementSyntax), endOfFileToken As SyntaxToken) As CompilationUnitSyntax

매개 변수

options
SyntaxList<OptionStatementSyntax>

Options 속성의 값입니다.

imports
SyntaxList<ImportsStatementSyntax>

Imports 속성의 값입니다.

attributes
SyntaxList<AttributesStatementSyntax>

Attributes 속성의 값입니다.

members
SyntaxList<StatementSyntax>

Members 속성의 값입니다.

endOfFileToken
SyntaxToken

EndOfFileToken 속성의 값입니다.

반환

적용 대상