C# Class UdcxRemediation.Console.Common.Utilities.CommonUtility

Afficher le fichier Open project: OfficeDev/PnP-Transformation

Méthodes publiques

Méthode Description
GetUrl ( string WebApplicationUrl, string Url ) : string

Returns a string Url by combining the WebAplicationUrl and the Input Url (Which Can be - SiteCollectionUrl, WebUrl and PageUrl)

SplitToLines ( string stringToSplit ) : IEnumerable

Excel/CSV Cell CharacterLimit. According to Microsoft's documentation: https://support.office.com/en-us/article/Excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3 Excel cannot read more than 32767 characters in a single cell Total number of characters that a cell can contain: 32,767 characters This function checks if the value of a column is more than 32,767 characters, and if it finds any it splits the data into rows so as to save it in csv/excel

Method Details

GetUrl() public static méthode

Returns a string Url by combining the WebAplicationUrl and the Input Url (Which Can be - SiteCollectionUrl, WebUrl and PageUrl)
public static GetUrl ( string WebApplicationUrl, string Url ) : string
WebApplicationUrl string
Url string
Résultat string

SplitToLines() public static méthode

Excel/CSV Cell CharacterLimit. According to Microsoft's documentation: https://support.office.com/en-us/article/Excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3 Excel cannot read more than 32767 characters in a single cell Total number of characters that a cell can contain: 32,767 characters This function checks if the value of a column is more than 32,767 characters, and if it finds any it splits the data into rows so as to save it in csv/excel
public static SplitToLines ( string stringToSplit ) : IEnumerable
stringToSplit string
Résultat IEnumerable