C# Class GSoft.Dynamite.Setup.TaxonomyInfo

Helps in filling taxonomy fields
Inheritance: FieldValueInfo, ITaxonomyInfo
Afficher le fichier Open project: GSoft-SharePoint/Dynamite-2010

Méthodes publiques

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

Method Details

ApplyFieldOnMetadata() public méthode

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

ApplyOnItem() public méthode

Applies the on item.
public ApplyOnItem ( SPListItem item ) : void
item SPListItem The item.
Résultat void

ApplyOnItem() public méthode

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