Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPContentType.Description property

Gets or sets a string that contains a description of the content type.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
<ClientCallableAttribute> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.NotNull)> _
DiminstanceAsSPContentTypeDimvalueAsStringvalue = instance.Description

instance.Description = value

Property value

Type: System.String
Text describing the content type. The default value is String.Empty.

You are not permitted to set the property to a a null reference (Nothing in Visual Basic) value.

The content type’s description is displayed in the user interface. The description can help a user who is creating a new list to decide whether the content type is appropriate for the list.

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.