共用方式為


SyntaxFactory.GetNonGenericExpression(ExpressionSyntax) Method

Definition

Converts a generic name expression into one without the generic arguments.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ GetNonGenericExpression(Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax GetNonGenericExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? GetNonGenericExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression);
static member GetNonGenericExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax
Public Shared Function GetNonGenericExpression (expression As ExpressionSyntax) As ExpressionSyntax

Parameters

expression
ExpressionSyntax

Returns

Applies to