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

ClientObjectExtensions Class

SharePoint Dev Documents|Last Updated: 6/19/2017
|
1 Contributor

Class for client object extension methods

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

Inheritance Hierarchy

System.Object

Syntax

public static class ClientObjectExtensions

Extension Methods

NameDescription
EnsureProperties<T>(T, Expression<Func<T, Object>>[])Ensures that particular properties are loaded on the Microsoft.SharePoint.Client.ClientObject
EnsureProperty<T, TResult>(T, Expression<Func<T, TResult>>)Ensures that particular property is loaded on the Microsoft.SharePoint.Client.ClientObject and immediately returns this property
IsObjectPropertyInstantiated<T>(T, Expression<Func<T, Object>>)Check if a property is instantiated on a object
IsPropertyAvailable<T>(T, Expression<Func<T, Object>>)Check if a property is available on a object
ServerObjectIsNull<T>(T)Checks if the ClientObject is null
ToUntypedPropertyExpression<TInput, TOutput>(Expression<Func<TInput, TOutput>>)Converts generic Expression<Func<TInput, TOutput>> to Expression with object return type - Expression<Func<TInput, object>>
ToUntypedStaticMethodCallExpression<TInput, TOutput>(Expression<Func<TInput, TOutput>>)Converts generic Expression<Func<TInput, TOutput>> to Expression with object return type - Expression<Func<TInput, object>>

See also

© 2018 Microsoft