共用方式為


SPUserCustomAction.TitleResource Property

Gets an SPUserResource object that represents the translations for the title of custom action.

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

Syntax

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

value = instance.TitleResource
public virtual SPUserResource TitleResource { 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 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

SPUserCustomAction Class

SPUserCustomAction Members

Microsoft.SharePoint Namespace

Title