Share via


Folder.WelcomePage property

Gets or sets a value that specifies folder-relative URL for the list folder welcome page.

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

Syntax

'Declaration
Public Property WelcomePage As String
    Get
    Set
'Usage
Dim instance As Folder
Dim value As String

value = instance.WelcomePage

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

Property value

Type: System.String
Returns a String instance representing the folder-relative URL for the list folder welcome page.

Exceptions

Exception Condition
[System.ArgumentException]

URL must be relative to the list folder and cannot contain two consecutive periods. Error code: -2147024809.

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

Remarks

It must not be a null reference (Nothing in Visual Basic).

See also

Reference

Folder class

Folder members

Microsoft.SharePoint.Client namespace