Share via


ContentType.Description Property

Gets or sets a description of the content type.

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 Description As String
    Get
    Set
'Usage
Dim instance As ContentType
Dim value As String

value = instance.Description

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

Property Value

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

Exceptions

Exception Condition
[System.ArgumentNullException]

The Description property cannot be a a null reference (Nothing in Visual Basic) value.

See Also

Reference

ContentType Class

ContentType Members

Microsoft.SharePoint.Client Namespace