SPWeb.CustomUploadPage property

Gets or sets the path to a custom application page for uploading files.

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

Syntax

'Declaration
Public Property CustomUploadPage As String
    Get
    Set
'Usage
Dim instance As SPWeb
Dim value As String

value = instance.CustomUploadPage

instance.CustomUploadPage = value
public string CustomUploadPage { get; set; }

Property value

Type: System.String
A [System.String] containing the path and file name.

Remarks

The default page for file uploads is "_layouts/upload.aspx". If you have deployed a custom application page to handle uploads, then you can set its path and file name in the CustomUploadPage property.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace