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