C# Класс Enmarcha.SharePoint.Extensors.List

Показать файл Открыть проект Примеры использования класса

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

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

Приватные методы

Метод Описание
AddFieldInList ( ListSharePoint list, Type genericClass ) : void

Add Field in List

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

Описание методов

AddContentTypeLibrary() публичный статический Метод

Add ContentType in Library
public static AddContentTypeLibrary ( this list, string contentType ) : bool
list this
contentType string
Результат bool

AddPermisionLibrary() публичный статический Метод

Add permissions to the library
public static AddPermisionLibrary ( this list, string group, RoleType role ) : bool
list this
group string
role RoleType
Результат bool

CreateList() публичный статический Метод

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
Результат bool

CreateList() публичный статический Метод

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
Результат bool