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 Web web, String contentTypeName, String cultureName, String nameResource, String descriptionResource)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Web to operate on

contentTypeName

  Type: System.String
  Name of 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