共用方式為


SPCopyDestinationCollection class

表示SPCopyDestination物件的集合。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.SPBaseCollection
      Microsoft.SharePoint.SPCopyDestinationCollection

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public NotInheritable Class SPCopyDestinationCollection _
    Inherits SPBaseCollection
'用途
Dim instance As SPCopyDestinationCollection
public sealed class SPCopyDestinationCollection : SPBaseCollection

備註

使用SPListItem類別的CopyDestinations屬性,傳回清單項目的 Url 的集合。若要建立的複製目標,請使用Add方法。

若要從集合傳回單一的複製目的地的 URL 中使用索引子。例如,如果集合指派給一個名為 myCopyDestinations 變數中,使用在 C# 的myCopyDestinations[index]或myCopyDestinations(index)在 Microsoft Visual Basic,其中index是索引數字的集合中的複製目的地。

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

SPCopyDestinationCollection members

Microsoft.SharePoint namespace