thisXDocument

M

Moe.Vafaei

Hi,

I'm using VSTO and part of the code is to delete a file from sharepoint
library.
I found the following code sample for VB .Net, but I'm getting error that
'thisXDocument' is not declared. What should I be importing into my code not
to get that error.

Regards

thisXDocument.GetDOM("UpdateListItemsConfig").selectSingleNode("/UpdateListItemsConfig/SharepointDelete/Batch/Method/Field[@Name
= 'FileRef']").text = "-dev5649-2008-07-11T13_59_46"

Dim deleteFileFromSharepoint As WebServiceAdapter2 =
CType(thisXDocument.DataAdapters("SharePointDelete"), WebServiceAdapter2)

deleteFileFromSharepoInteger.Submit()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top