다음을 통해 공유


WithBlockSyntax.WithWithStatement(WithStatementSyntax) Method

Definition

Returns a copy of this with the WithStatement 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::WithBlockSyntax ^ WithWithStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::WithStatementSyntax ^ withStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.WithBlockSyntax WithWithStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.WithStatementSyntax withStatement);
member this.WithWithStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.WithStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.WithBlockSyntax
Public Function WithWithStatement (withStatement As WithStatementSyntax) As WithBlockSyntax

Parameters

withStatement
WithStatementSyntax

Returns

Applies to