C# 클래스 Microsoft.Legal.MatterCenter.CreateSiteColumns.CreateSiteColumns

Class for creating site columns
파일 보기 프로젝트 열기: Microsoft/mattercenter

공개 메소드들

메소드 설명
GetConfigDataFromResource ( string fileName, string keyName ) : string

Method to get data from Resource file

Main ( string args ) : void

Main method

비공개 메소드들

메소드 설명
AddColumnsToContentType ( Web web, List siteColumns, ContentType finalObj ) : bool

Method to add columns to Content Type

AddSiteColumns ( bool revert, string login, string password ) : void

Function to create Site columns in content type hub

CreateContentType ( ClientContext clientContext, List siteColumns, string contentTypeName, string contentTypegroup ) : bool

Method to create Content Types

CreateSiteColumn ( ClientContext clientContext, List siteColumns, string contentTypeGroup ) : bool

Method to create site column

MapMetadataColumns ( ClientContext clientContext, FieldCollection fieldCol ) : void

Function to map metadata columns with specific term set

RevertSiteColumns ( ClientContext clientContext, List siteColumns, string contentType, string contentTypegroup ) : void

Method to revert creation of site column and Content Type

메소드 상세

GetConfigDataFromResource() 공개 정적인 메소드

Method to get data from Resource file
public static GetConfigDataFromResource ( string fileName, string keyName ) : string
fileName string Name of resource file
keyName string Key whose value is to be retrieved
리턴 string

Main() 공개 정적인 메소드

Main method
public static Main ( string args ) : void
args string Command line arguments
리턴 void