Share via


XmlDocumentSyntax.WithPrecedingMisc(SyntaxList<XmlNodeSyntax>) Method

Definition

Returns a copy of this with the PrecedingMisc 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::XmlDocumentSyntax ^ WithPrecedingMisc(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^> precedingMisc);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDocumentSyntax WithPrecedingMisc (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> precedingMisc);
member this.WithPrecedingMisc : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDocumentSyntax
Public Function WithPrecedingMisc (precedingMisc As SyntaxList(Of XmlNodeSyntax)) As XmlDocumentSyntax

Parameters

precedingMisc
SyntaxList<XmlNodeSyntax>

Returns

Applies to