Delen via


XmlDeclarationSyntax.WithLessThanQuestionToken(SyntaxToken) Method

Definition

Returns a copy of this with the LessThanQuestionToken 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::XmlDeclarationSyntax ^ WithLessThanQuestionToken(Microsoft::CodeAnalysis::SyntaxToken lessThanQuestionToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDeclarationSyntax WithLessThanQuestionToken (Microsoft.CodeAnalysis.SyntaxToken lessThanQuestionToken);
member this.WithLessThanQuestionToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDeclarationSyntax
Public Function WithLessThanQuestionToken (lessThanQuestionToken As SyntaxToken) As XmlDeclarationSyntax

Parameters

lessThanQuestionToken
SyntaxToken

Returns

Applies to