Поделиться через


PropertyDeclarationSyntax.WithExpressionBody Метод

Определение

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::PropertyDeclarationSyntax ^ WithExpressionBody(Microsoft::CodeAnalysis::CSharp::Syntax::ArrowExpressionClauseSyntax ^ expressionBody);
public Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax WithExpressionBody (Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax expressionBody);
public Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax WithExpressionBody (Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax? expressionBody);
member this.WithExpressionBody : Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax
Public Function WithExpressionBody (expressionBody As ArrowExpressionClauseSyntax) As PropertyDeclarationSyntax

Параметры

Возвращаемое значение

Применяется к