Delen via


XmlDocumentSyntax.Update Method

Definition

Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

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

Parameters

declaration
XmlDeclarationSyntax

The value for the Declaration property.

precedingMisc
SyntaxList<XmlNodeSyntax>

The value for the PrecedingMisc property.

root
XmlNodeSyntax

The value for the Root property.

followingMisc
SyntaxList<XmlNodeSyntax>

The value for the FollowingMisc property.

Returns

Applies to