Folder.WelcomePage Property
Gets or sets a value that specifies folder-relative URL for the list folder welcome page.
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Property WelcomePage As String
Get
Set
'Usage
Dim instance As Folder
Dim value As String
value = instance.WelcomePage
instance.WelcomePage = value
[RemoteAttribute]
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).