Lists.GetVersionCollection Method

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

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


<SoapDocumentMethodAttribute("", RequestNamespace:="", ResponseNamespace:="", 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("", RequestNamespace="", ResponseNamespace="", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] 
public XmlNode GetVersionCollection (
    string strlistID,
    string strlistItemID,
    string strFieldName


  • 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.

See Also


Lists Class
Lists Members
Lists Web Service