다음을 통해 공유


VariableDeclaratorSyntax.WithInitializer(EqualsValueClauseSyntax) 메서드

정의

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::VariableDeclaratorSyntax ^ WithInitializer(Microsoft::CodeAnalysis::CSharp::Syntax::EqualsValueClauseSyntax ^ initializer);
public Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax WithInitializer (Microsoft.CodeAnalysis.CSharp.Syntax.EqualsValueClauseSyntax initializer);
public Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax WithInitializer (Microsoft.CodeAnalysis.CSharp.Syntax.EqualsValueClauseSyntax? initializer);
member this.WithInitializer : Microsoft.CodeAnalysis.CSharp.Syntax.EqualsValueClauseSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax
Public Function WithInitializer (initializer As EqualsValueClauseSyntax) As VariableDeclaratorSyntax

매개 변수

반환

적용 대상