C# Class Enmarcha.SharePoint.Extensors.List

Afficher le fichier Open project: Encamina/Enmarcha-SharePoint Class Usage Examples

Méthodes publiques

Méthode Description
AddContentTypeLibrary ( this list, string contentType ) : bool

Add ContentType in Library

AddPermisionLibrary ( this list, string group, RoleType role ) : bool

Add permissions to the library

CreateList ( this web, string title, string description, TypeList typeList, bool versionControl ) : bool

Create List

CreateList ( this web, string title, string description, TypeList typeList, bool versionControl, Type genericClass ) : bool

Create List

Private Methods

Méthode Description
AddFieldInList ( ListSharePoint list, Type genericClass ) : void

Add Field in List

CreateColumnInList ( ParamsColumnSite args ) : void
GenerateCommand ( ) : SPFieldType>.Dictionary
GetFieldType ( string fieldType ) : SPFieldType

Method Details

AddContentTypeLibrary() public static méthode

Add ContentType in Library
public static AddContentTypeLibrary ( this list, string contentType ) : bool
list this
contentType string
Résultat bool

AddPermisionLibrary() public static méthode

Add permissions to the library
public static AddPermisionLibrary ( this list, string group, RoleType role ) : bool
list this
group string
role RoleType
Résultat bool

CreateList() public static méthode

Create List
public static CreateList ( this web, string title, string description, TypeList typeList, bool versionControl ) : bool
web this
title string
description string
typeList TypeList
versionControl bool
Résultat bool

CreateList() public static méthode

Create List
public static CreateList ( this web, string title, string description, TypeList typeList, bool versionControl, Type genericClass ) : bool
web this
title string
description string
typeList TypeList
versionControl bool
genericClass System.Type
Résultat bool