Поделиться через


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

Параметры

Возвращаемое значение

Применяется к