Partilhar via


XmlElementSyntax.Update Método

Definição

Retorna uma cópia disso com as alterações especificadas. Retorna essa instância se não houver alterações reais.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlElementSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlElementStartTagSyntax ^ startTag, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^> content, Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlElementEndTagSyntax ^ endTag);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementStartTagSyntax startTag, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> content, Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementEndTagSyntax endTag);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementStartTagSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementEndTagSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementSyntax
Public Function Update (startTag As XmlElementStartTagSyntax, content As SyntaxList(Of XmlNodeSyntax), endTag As XmlElementEndTagSyntax) As XmlElementSyntax

Parâmetros

startTag
XmlElementStartTagSyntax

O valor da propriedade StartTag.

content
SyntaxList<XmlNodeSyntax>

O valor da propriedade Content.

endTag
XmlElementEndTagSyntax

O valor da propriedade EndTag.

Retornos

Aplica-se a