pnpframework
pnpframework copied to clipboard
ClearObjectData ?
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