Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- fileName
Type: Microsoft.SharePoint.Client.ResourcePath 
Return value
Type: Microsoft.SharePoint.Client.Attachment