Home
Options

Code syntax for added references

I added a reference to Microsoft.SharePoint.Client.dll to the Query Properties dialog using the F4 key. In my code, I have to include the complete reference. For example:

Microsoft.SharePoint.Client.**ClientContext **srcContext  = new Microsoft.SharePoint.Client.**ClientContext**(srcUrl);

Is there a way to not have to include the complete reference, for example:

**ClientContext **srcContext  = new **ClientContext**(srcUrl);

Comments

Sign In or Register to comment.