SPField.TitleResource property

Gets the resource object associated with the field’s display name.

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

Syntax

'Declaration
Public ReadOnly Property TitleResource As SPUserResource
    Get
'Usage
Dim instance As SPField
Dim value As SPUserResource

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

Property value

Type: Microsoft.SharePoint.SPUserResource
An SPUserResource object that represents user-defined localizable resources.

Remarks

This property is the source for the string returned by the Title property, which returns TitleResource.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

Title