다음을 통해 공유


ObjectMemberInitializerSyntax.Update 메서드

정의

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

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ObjectMemberInitializerSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken withKeyword, Microsoft::CodeAnalysis::SyntaxToken openBraceToken, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::FieldInitializerSyntax ^> initializers, Microsoft::CodeAnalysis::SyntaxToken closeBraceToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax Update (Microsoft.CodeAnalysis.SyntaxToken withKeyword, Microsoft.CodeAnalysis.SyntaxToken openBraceToken, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.FieldInitializerSyntax> initializers, Microsoft.CodeAnalysis.SyntaxToken closeBraceToken);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.FieldInitializerSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax
Public Function Update (withKeyword As SyntaxToken, openBraceToken As SyntaxToken, initializers As SeparatedSyntaxList(Of FieldInitializerSyntax), closeBraceToken As SyntaxToken) As ObjectMemberInitializerSyntax

매개 변수

withKeyword
SyntaxToken

WithKeyword 속성의 값입니다.

openBraceToken
SyntaxToken

OpenBraceToken 속성의 값입니다.

initializers
SeparatedSyntaxList<FieldInitializerSyntax>

Initializers 속성의 값입니다.

closeBraceToken
SyntaxToken

CloseBraceToken 속성의 값입니다.

반환

적용 대상