共用方式為


SPContentType.NameResource property

取得SPUserResource物件,表示內容的型別名稱的翻譯。

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

Syntax

'宣告
Public ReadOnly Property NameResource As SPUserResource
    Get
'用途
Dim instance As SPContentType
Dim value As SPUserResource

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

Property value

Type: Microsoft.SharePoint.SPUserResource
使用者定義資源的內容類型名稱。

備註

此屬性為 [ Name ] 屬性,它會傳回DescriptionResource.Value所傳回的字串的來源。值為目前的執行緒變更CurrentUICulture屬性的值傳回的運算式,它會變更。如需詳細資訊,請參閱SPUserResource.Value屬性。

請參閱

參照

SPContentType class

SPContentType members

Microsoft.SharePoint namespace

Name