Lists.GetVersionCollection Method
Returns version information for the specified field in a SharePoint list.
Web Service: ListsWeb Reference: http://<Site>/_vti_bin/Lists.asmx
Syntax
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/GetVersionCollection", RequestNamespace:="http://schemas.microsoft.com/sharepoint/soap/", ResponseNamespace:="http://schemas.microsoft.com/sharepoint/soap/", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Wrapped)> _
Public Function GetVersionCollection ( _
strlistID As String, _
strlistItemID As String, _
strFieldName As String _
) As XmlNode
Dim instance As Lists
Dim strlistID As String
Dim strlistItemID As String
Dim strFieldName As String
Dim returnValue As XmlNode
returnValue = instance.GetVersionCollection(strlistID, strlistItemID, strFieldName)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/GetVersionCollection", RequestNamespace="http://schemas.microsoft.com/sharepoint/soap/", ResponseNamespace="http://schemas.microsoft.com/sharepoint/soap/", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)]
public XmlNode GetVersionCollection (
string strlistID,
string strlistItemID,
string strFieldName
)
Parameters
- strlistID
A string that contains the ID of the list.
- strlistItemID
A string that contains the ID of the item.
- strFieldName
A string that contains the name of the field.
Return Value
An XML fragment that contains the version information, and that can be assigned to a System.Xml.XmlNode object.