Partilhar via


SPWeb.Description Property

Gets or sets the description for the site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property Description As String
    Get
    Set
'Usage
Dim instance As SPWeb
Dim value As String

value = instance.Description

instance.Description = value
[ClientCallableAttribute]
public string Description { get; set; }

Property Value

Type: System.String
A string that contains the description of the site.

Remarks

The value that is returned can vary depending on the current thread's Thread.CurrentUICulture property. For more information, see the DescriptionResource property.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace

DescriptionResource