C# 클래스 UdcxRemediation.Console.Common.Utilities.CommonUtility

파일 보기 프로젝트 열기: OfficeDev/PnP-Transformation

공개 메소드들

메소드 설명
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

메소드 상세

GetUrl() 공개 정적인 메소드

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
리턴 string

SplitToLines() 공개 정적인 메소드

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
리턴 IEnumerable