Partilhar via


SPCopyDestinationCollection.Item Property

Gets the copy destination at the specified index in the collection of copy destination objects.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Item ( _
    index As Integer _
) As SPCopyDestination
    Get
'Usage
Dim instance As SPCopyDestinationCollection
Dim index As Integer
Dim value As SPCopyDestination

value = instance.Item(index)
public SPCopyDestination this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32

    A 32-bit integer that specifies the index.

Property Value

Type: Microsoft.SharePoint.SPCopyDestination
An SPCopyDestination object that represents the copy destination.

See Also

Reference

SPCopyDestinationCollection Class

SPCopyDestinationCollection Members

Microsoft.SharePoint Namespace