Udostępnij za pośrednictwem


StructureBlockSyntax.WithEndStructureStatement Method

Definition

Returns a copy of this with the EndStructureStatement 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::StructureBlockSyntax ^ WithEndStructureStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endStructureStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureBlockSyntax WithEndStructureStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endStructureStatement);
member this.WithEndStructureStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureBlockSyntax
Public Function WithEndStructureStatement (endStructureStatement As EndBlockStatementSyntax) As StructureBlockSyntax

Parameters

endStructureStatement
EndBlockStatementSyntax

Returns

Applies to