Table of contents
TOC
Collapse the table of content
Expand the table of content

FieldAndContentTypeExtensions.SetLocalizationForContentType Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Set localized labels for content type

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static void SetLocalizationForContentType(this List list, String contentTypeId, String cultureName, String nameResource, String descriptionResource)

Parameters

list

  Type: Microsoft.SharePoint.Client.List
  List to update

contentTypeId

  Type: System.String
  Complete ID for the content type

cultureName

  Type: System.String
  Culture for the localization (en-es, nl-be, fi-fi,...)

nameResource

  Type: System.String
  Localized value for the Name property

descriptionResource

  Type: System.String
  Localized value for the Description property

Return Value

Type: void

See also

© 2018 Microsoft