Share via


ContentType.Description property

Gets or sets a description of the content type.

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

Syntax

'Declaration
Public Property Description As String
    Get
    Set
'Usage
Dim instance As ContentType
Dim value As String

value = instance.Description

instance.Description = value
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