This documentation is archived and is not being maintained.

Lists.GetVersionCollection Method

Windows SharePoint Services 3
Returns version information for the specified field in a SharePoint list.

Web Service: ListsWeb Reference: http://<Site>/_vti_bin/Lists.asmx

'Declaration
<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
'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)

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.
Show: