Condividi tramite


SPUserCustomAction.DescriptionResource Property

Gets an SPUserResource object that represents translations for the description of the 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 DescriptionResource As SPUserResource
    Get
'Usage
Dim instance As SPUserCustomAction
Dim value As SPUserResource

value = instance.DescriptionResource
public virtual 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

SPUserCustomAction Class

SPUserCustomAction Members

Microsoft.SharePoint Namespace

Description