Method | 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
|
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 |
return | void |
public static DeleteContentType ( ClientContext clientContext, string contentTypeName ) : void | ||
clientContext | ClientContext | SharePoint Client Context |
contentTypeName | string | Name of content type to be deleted |
return | void |
public static Main ( string args ) : void | ||
args | string | input from console |
return | void |