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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET