SPContentType.NameResource Property
SharePoint 2010
Gets an SPUserResource object that represents the translations of the name of the content type.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Property Value
Type: Microsoft.SharePoint.SPUserResourceA user-defined resource for the content type name.
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.
The Name property returns NameResource.Value
The remark should be this :
The
Name
property returns
NameResource
.Value and not
DescriptionResource
.Value.
- 12/28/2011
- rochesebastien
- 12/28/2011
- rochesebastien