共用方式為


SyntaxFacts.IsNamedArgumentName(SyntaxNode) Method

Definition

Is the node the name of a named argument of an invocation, object creation expression, constructor initializer, or element access, but not an attribute.

public:
 static bool IsNamedArgumentName(Microsoft::CodeAnalysis::SyntaxNode ^ node);
public static bool IsNamedArgumentName (Microsoft.CodeAnalysis.SyntaxNode node);
static member IsNamedArgumentName : Microsoft.CodeAnalysis.SyntaxNode -> bool
Public Function IsNamedArgumentName (node As SyntaxNode) As Boolean

Parameters

node
SyntaxNode

Returns

Applies to