ConstructorBlockSyntax.WithSubNewStatement(SubNewStatementSyntax) Method

Definition

Returns a copy of this with the SubNewStatement property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ConstructorBlockSyntax ^ WithSubNewStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::SubNewStatementSyntax ^ subNewStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstructorBlockSyntax WithSubNewStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.SubNewStatementSyntax subNewStatement);
member this.WithSubNewStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.SubNewStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstructorBlockSyntax
Public Function WithSubNewStatement (subNewStatement As SubNewStatementSyntax) As ConstructorBlockSyntax

Parameters

subNewStatement
SubNewStatementSyntax

Returns

Applies to