Table of Contents

Interface IChange

Namespace
PnP.Core.Model.SharePoint
Assembly
PnP.Core.dll

Base interface for a description of a change to an object.

public interface IChange

Properties

ChangeToken

Gets a value that specifies a change token that identifies the changed object.

IChangeToken ChangeToken { get; }

Property Value

IChangeToken

ChangeType

Gets a value that specifies the type of the change that has been made to the object.

ChangeType ChangeType { get; }

Property Value

ChangeType

SiteId

Gets a value that identifies the site that contains the changed object.

Guid SiteId { get; }

Property Value

Guid

Time

Gets a value that specifies the time that the object was modified.

DateTime Time { get; }

Property Value

DateTime

Methods

IsPropertyAvailable<TModel>(Expression<Func<TModel, object>>)

Checks if a property was loaded or not

bool IsPropertyAvailable<TModel>(Expression<Func<TModel, object>> expression)

Parameters

expression Expression<Func<TModel, object>>

An expression defining the property to check (e.g. p => p.Property)

Returns

bool

Type Parameters

TModel

The entity derived from IChange that you're checking the property for