SharePoint Online and CSOM RRS feed

  • Question

  • Hi everyone,

    CSOM offers a method called .Load() where you load your objects.

    I usually used $context.Load($whateverObject)

    but recently I saw in a scrip $list.Context.Load($items)

    What's the difference between the 2 approaches? Is one better than the other? In which situation would I use $list.Context.Load()? Any documentation on this? (couldn't find any)

    Thanks in advance for all comments

    Friday, October 4, 2019 4:33 PM

All replies