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.
Gets the URL for the directory that contains the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property UrlPrefix As String
Get
'Usage
Dim instance As SPAttachmentCollection
Dim value As String
value = instance.UrlPrefix
public string UrlPrefix { get; }
Property Value
Type: System.String
A string that contains the full path of the prefix for all attachments to the list item and that ends with a trailing forward slash (/). For example, if a list item in the Announcements list of a top-level Web site has the ID 101, the UrlPrefix property contains a URL in the format https://Server/Lists/Announcements/Attachments/101/.