DeclareStatementSyntax.WithLibKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the LibKeyword 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::DeclareStatementSyntax ^ WithLibKeyword(Microsoft::CodeAnalysis::SyntaxToken libKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.DeclareStatementSyntax WithLibKeyword (Microsoft.CodeAnalysis.SyntaxToken libKeyword);
member this.WithLibKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DeclareStatementSyntax
Public Function WithLibKeyword (libKeyword As SyntaxToken) As DeclareStatementSyntax

Parameters

libKeyword
SyntaxToken

Returns

Applies to