ConstructorBlockSyntax.WithSubNewStatement(SubNewStatementSyntax) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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