SyntaxFacts.IsDeclareStatementKeyword(SyntaxKind) Method

Definition

Caution

This member is obsolete. Use IsDeclareStatementSubOrFunctionKeyword instead.

public:
 static bool IsDeclareStatementKeyword(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("This member is obsolete. Use IsDeclareStatementSubOrFunctionKeyword instead.", true)]
public static bool IsDeclareStatementKeyword (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Obsolete("This member is obsolete. Use IsDeclareStatementSubOrFunctionKeyword instead.", true)>]
static member IsDeclareStatementKeyword : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> bool
Public Shared Function IsDeclareStatementKeyword (kind As SyntaxKind) As Boolean

Parameters

kind
SyntaxKind

Returns

Attributes

Applies to