Compartilhar via


SPContentType.DescriptionResource Property

Gets or sets a user-defined localizable resource that represents the content type description.

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

Syntax

'Declaration
Public ReadOnly Property DescriptionResource As SPUserResource
    Get
'Usage
Dim instance As SPContentType
Dim value As SPUserResource

value = instance.DescriptionResource
public SPUserResource DescriptionResource { get; }

Property Value

Type: Microsoft.SharePoint.SPUserResource
A user-defined resource for the content type description.

Remarks

This property is the source for the string returned by the Description property, which returns DescriptionResource.Value. The value that is returned by this expression changes as the value of the CurrentUICulture property of the current thread changes. For more information, see the SPUserResource.Value property.

See Also

Reference

SPContentType Class

SPContentType Members

Microsoft.SharePoint Namespace

Description