AttachmentCollection.GetByFileNameAsPath method

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

Syntax

'Declaration
Public Function GetByFileNameAsPath ( _
    fileName As ResourcePath _
) As Attachment
'Usage
Dim instance As AttachmentCollection
Dim fileName As ResourcePath
Dim returnValue As Attachment

returnValue = instance.GetByFileNameAsPath(fileName)
public Attachment GetByFileNameAsPath(
    ResourcePath fileName
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.Attachment

See also

Reference

AttachmentCollection class

AttachmentCollection members

Microsoft.SharePoint.Client namespace