SyntaxFacts.IsAttributeName(SyntaxNode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if the SyntaxNode is an attribute name. To be an attribute name, the syntax must be parented by an Attribute and the node itself must be equal to the Attribute.Name property.
public:
static bool IsAttributeName(Microsoft::CodeAnalysis::SyntaxNode ^ node);
public static bool IsAttributeName (Microsoft.CodeAnalysis.SyntaxNode node);
static member IsAttributeName : Microsoft.CodeAnalysis.SyntaxNode -> bool
Public Shared Function IsAttributeName (node As SyntaxNode) As Boolean
Parameters
- node
- SyntaxNode
Returns
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.