C# Class Microsoft.Legal.MatterCenter.CreateContentTypes.Program

This class is the entry point for the application
Afficher le fichier Open project: Microsoft/mattercenter

Méthodes publiques

Méthode Description
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

Method Details

CreateContentType() public static méthode

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
Résultat void

DeleteContentType() public static méthode

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
Résultat void

Main() public static méthode

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