Share via


Lists.GetVersionCollection-Methode

Gibt Versionsinformationen für das angegebene Feld in einer SharePoint-Liste zurück.

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
)

Parameter

  • strlistID
    Typ: System.String

    Eine Zeichenfolge, die die ID der Liste enthält.

  • strlistItemID
    Typ: System.String

    Eine Zeichenfolge, die die ID des Elements enthält.

  • strFieldName
    Typ: System.String

    Eine Zeichenfolge, die den Namen des Felds enthält.

Rückgabewert

Typ: System.Xml.XmlNode
Ein XML-Fragment, das die Versionsinformationen enthält und ein System.Xml.XmlNode -Objekt zugewiesen werden können.

Siehe auch

Referenz

Lists Klasse

Lists-Member

WebSvcLists-Namespace