Partager via


XmlDeclarationSyntax.WithXmlKeyword(SyntaxToken) Method

Definition

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

Parameters

xmlKeyword
SyntaxToken

Returns

Applies to