Class PageTranslationOptions
Class that defines the languages for which a translation must be generated
Inheritance
System.Object
PageTranslationOptions
Assembly: PnP.Core.dll
Syntax
public class PageTranslationOptions : object
Properties
List of languages to generate a translation for
Declaration
public List<string> LanguageCodes { get; }
Property Value
PnP.Core.Model.SharePoint.List<System.String>
|
Methods
Add a new language to the list of langauges to be generated. Note that this language must be a language configured for multi-lingual pages on the site
Declaration
public void AddLanguage(int languageId)
Parameters