C# 클래스 Microsoft.Legal.MatterCenter.CreateContentTypes.Program

This class is the entry point for the application
파일 보기 프로젝트 열기: Microsoft/mattercenter

공개 메소드들

메소드 설명
CreateContentType ( ClientContext clientContext, string contentTypeName, string parentContentTypeName, string contentTypeGroup ) : void

Method to create Content Types

DeleteContentType ( ClientContext clientContext, string contentTypeName ) : void

Delete Content Types

Main ( string args ) : void

This method is the entry point for the application

메소드 상세

CreateContentType() 공개 정적인 메소드

Method to create Content Types
public static CreateContentType ( ClientContext clientContext, string contentTypeName, string parentContentTypeName, string contentTypeGroup ) : void
clientContext ClientContext Client Context
contentTypeName string Name of Content Type
parentContentTypeName string Name of Parent Content Type
contentTypeGroup string Name of group under which Content Type is to be added
리턴 void

DeleteContentType() 공개 정적인 메소드

Delete Content Types
public static DeleteContentType ( ClientContext clientContext, string contentTypeName ) : void
clientContext ClientContext SharePoint Client Context
contentTypeName string Name of content type to be deleted
리턴 void

Main() 공개 정적인 메소드

This method is the entry point for the application
public static Main ( string args ) : void
args string input from console
리턴 void