C# Class GSoft.Dynamite.Setup.TaxonomyInfo

Helps in filling taxonomy fields
Inheritance: FieldValueInfo, ITaxonomyInfo
Mostrar archivo Open project: GSoft-SharePoint/Dynamite-2010

Public Methods

Method 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 method

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.
return void

ApplyOnItem() public method

Applies the on item.
public ApplyOnItem ( SPListItem item ) : void
item SPListItem The item.
return void

ApplyOnItem() public method

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
return void