pnpframework icon indicating copy to clipboard operation
pnpframework copied to clipboard

ClearObjectData ?

Open fsereno opened this issue 7 months ago • 0 comments

ClearObjectData

Please can you clarify exactly what this method does ?

https://pnp.github.io/pnpframework/api/Microsoft.SharePoint.Client.ClientObjectExtensions.html?utm_source=chatgpt.com

Specifically within the context of what it means to the ClientContext ?

I am seeing memory build up when querying objects using the ClientContext, and references being held on to.

I need a way of clearing down the memory being used and would like to know what ClearObjectData will achieve.

I see no documentation in the wiki or developer documentation on the code.

Many thanks

fsereno avatar Jun 13 '25 08:06 fsereno