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()
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()