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


ConstructorDeclarationSyntax.WithInitializer Метод

Определение

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

Параметры

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

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