Partager via


SyntaxGenerator.GetDeclarationKind(SyntaxNode) Méthode

Définition

Obtient la DeclarationKind déclaration.

public:
 abstract Microsoft::CodeAnalysis::Editing::DeclarationKind GetDeclarationKind(Microsoft::CodeAnalysis::SyntaxNode ^ declaration);
public abstract Microsoft.CodeAnalysis.Editing.DeclarationKind GetDeclarationKind (Microsoft.CodeAnalysis.SyntaxNode declaration);
abstract member GetDeclarationKind : Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.Editing.DeclarationKind
Public MustOverride Function GetDeclarationKind (declaration As SyntaxNode) As DeclarationKind

Paramètres

declaration
SyntaxNode

Retours

S’applique à