C# Класс Microsoft.Legal.MatterCenter.CreateContentTypes.Program

This class is the entry point for the application
Показать файл Открыть проект

Открытые методы

Метод Описание
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