C# Класс GSoft.Dynamite.Setup.TaxonomyInfo

Helps in filling taxonomy fields
Наследование: FieldValueInfo, ITaxonomyInfo
Показать файл Открыть проект

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

Метод Описание
ApplyFieldOnMetadata ( MetadataDefaults metadata, SPFolder folder, SPList list ) : void

Sets a default for a field at a location.

ApplyOnItem ( SPListItem item ) : void

Applies the on item.

ApplyOnItem ( SPListItem item, SPList list ) : void

Sets the value of the taxonomy field in the given list item to the properties of the Term object in the default language of the TermStore object.

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

ApplyFieldOnMetadata() публичный Метод

Sets a default for a field at a location.
public ApplyFieldOnMetadata ( MetadataDefaults metadata, SPFolder folder, SPList list ) : void
metadata MetadataDefaults Provides the method to set the default value for the field
folder SPFolder location at which to set the default value
list SPList List of the TaxonomyField containing the validatedString corresponding to the default value.
Результат void

ApplyOnItem() публичный Метод

Applies the on item.
public ApplyOnItem ( SPListItem item ) : void
item SPListItem The item.
Результат void

ApplyOnItem() публичный Метод

Sets the value of the taxonomy field in the given list item to the properties of the Term object in the default language of the TermStore object.
public ApplyOnItem ( SPListItem item, SPList list ) : void
item SPListItem The object whose field is to be updated.
list SPList List containing the TaxonomyField to set
Результат void