AttachmentCollection.Item Property
Returns the attachment in the specified position.
Namespace: Microsoft.Office.SharePointWorkspace.AddIn.Data
Assembly: Microsoft.Office.SharePointWorkspace.AddIn.Data (in Microsoft.Office.SharePointWorkspace.AddIn.Data.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As Attachment
Get
'Usage
Dim instance As AttachmentCollection
Dim index As Integer
Dim value As Attachment
value = instance(index)
public Attachment this[
int index
] { get; }
Parameters
- index
Type: System.Int32
The index in the collection.
Property Value
Type: Microsoft.Office.SharePointWorkspace.AddIn.Data.Attachment
The requested attachment.