共用方式為


Lists.GetVersionCollection method

SharePoint 清單中,會傳回指定之欄位的版本資訊。

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

Syntax

'宣告
<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
'用途
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
)

參數

  • strlistID
    Type: System.String

    內含清單識別碼的字串。

  • strlistItemID
    Type: System.String

    包含的項目識別碼的字串。

  • strFieldName
    Type: System.String

    包含欄位名稱的字串。

傳回值

Type: System.Xml.XmlNode
包含版本詳細資訊,及,可以指派給System.Xml.XmlNode物件 XML 片段。

請參閱

參照

Lists class

Lists members

WebSvcLists namespace