Table of contents
TOC
Collapse the table of content
Expand the table of content

ClientObjectExtensions.ToUntypedStaticMethodCallExpression Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Converts generic Expression<Func<TInput, TOutput>> to Expression with object return type - Expression<Func<TInput, object>>

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static Expression<Func<TInput, Object>> ToUntypedStaticMethodCallExpression<TInput, TOutput>(this Expression<Func<TInput, TOutput>> expression)

Parameters

expression

  Type: System.Linq.Expressions.Expression<System.Func<TInput, TOutput>>
   to convert

Return Value

Type: Expression<Func<TInput, Object>>
New Expression where return type is object and not generic

See also

© 2018 Microsoft