Lists.GetVersionCollection method

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

Namespace:  WebSvcLists
Assembly:  STSSOAP (in STSSOAP.dll)

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

    A string that contains the ID of the list.

  • strlistItemID
    Type: System.String

    A string that contains the ID of the item.

  • strFieldName
    Type: System.String

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

See also

Reference

Lists class

Lists members

WebSvcLists namespace