Partilhar via


XmlDocumentSyntax.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::XmlDocumentSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlDeclarationSyntax ^ declaration, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^> precedingMisc, Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^ root, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^> followingMisc);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDocumentSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDeclarationSyntax declaration, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> precedingMisc, Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax root, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> followingMisc);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDeclarationSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDocumentSyntax
Public Function Update (declaration As XmlDeclarationSyntax, precedingMisc As SyntaxList(Of XmlNodeSyntax), root As XmlNodeSyntax, followingMisc As SyntaxList(Of XmlNodeSyntax)) As XmlDocumentSyntax

Parâmetros

declaration
XmlDeclarationSyntax

O valor da propriedade Declaration.

precedingMisc
SyntaxList<XmlNodeSyntax>

O valor da propriedade PrecedingMisc.

root
XmlNodeSyntax

O valor da propriedade Root.

followingMisc
SyntaxList<XmlNodeSyntax>

O valor da propriedade FollowingMisc.

Retornos

Aplica-se a