SPField.DescriptionResource Property

Gets an SPUserResource object that represents the translations for the description of the field.

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 SPField
Dim value As SPUserResource

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

Property Value

Type: Microsoft.SharePoint.SPUserResource
An object that encapsulates a user-defined localizable resource.

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 can vary depending on the value of the CurrentUICulture of the current thread. For more information, see the SPUserResource.Value property.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace

Description