Share via


XmlElementSyntax.WithEndTag(XmlElementEndTagSyntax) Method

Definition

Returns a copy of this with the EndTag 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::XmlElementSyntax ^ WithEndTag(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlElementEndTagSyntax ^ endTag);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementSyntax WithEndTag (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementEndTagSyntax endTag);
member this.WithEndTag : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementEndTagSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementSyntax
Public Function WithEndTag (endTag As XmlElementEndTagSyntax) As XmlElementSyntax

Parameters

Returns

Applies to