Lists.GetVersionCollection Method
Returns version information for the specified field in a SharePoint list.
Namespace: [Lists Web service]
Web service reference: http://Site/_vti_bin/Lists.asmx
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/GetVersionCollection", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/", _
ResponseNamespace := "https://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
'Usage
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("https://schemas.microsoft.com/sharepoint/soap/GetVersionCollection", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/",
ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public XmlNode GetVersionCollection(
string strlistID,
string strlistItemID,
string strFieldName
)
Parameters
strlistID
Type: System.StringA string that contains the ID of the list.
strlistItemID
Type: System.StringA string that contains the ID of the item.
strFieldName
Type: System.StringA string that contains the name of the field.
Return Value
Type: System.Xml.XmlNode
An XML fragment that contains the version information, and that can be assigned to a System.Xml.XmlNode object.