次の方法で共有


SPContentType.NameResource property

Gets an SPUserResource object that represents the translations of the name of the content type.

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

Syntax

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

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

Property value

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

Remarks

This property is the source for the string returned by the Name 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

Name