-5

I want to retrieve the web's properties, but why I can not find .Load?

ClientContext con = new ClientContext("https://example.com");
Web web = con.Web;
con.Load(web);

enter image description here

Cœur
  • 37,241
  • 25
  • 195
  • 267
Mind
  • 1
  • 1

1 Answers1

0

Add reference Microsoft.SharePoint.Client.Runtime.dll in your console application.

LZ_MSFT
  • 4,079
  • 1
  • 8
  • 9