TaxonomyField Methods

Include Protected Members
Include Inherited Members

The TaxonomyField type exposes the following members.

Methods

  Name Description
Public method Delete (Inherited from SPField.)
Public method Equals (Inherited from Object.)
Public methodStatic member FilteringJavascript Returns a string containing the that must be rendered on a page to display hierarchical filtering in the filter menu.
Protected method Finalize (Inherited from Object.)
Public method GetCustomProperty (Inherited from SPField.)
Public method GetDependentLookupInternalNames (Inherited from SPFieldLookup.)
Public method GetFieldValue Converts the specified string value into a TaxonomyFieldValue or a TaxonomyFieldValueCollection object. (Overrides SPFieldLookup.GetFieldValue(String).)
Public method GetFieldValueAsHtml Returns the field value in HTML format in order to render the field valuedirectly on a page. (Overrides SPFieldLookup.GetFieldValueAsHtml(Object).)
Public method GetFieldValueAsText Returns a plain text representation of the field value. (Overrides SPFieldLookup.GetFieldValueAsText(Object).)
Public method GetFieldValueForEdit (Inherited from SPField.)
Public methodStatic member GetFilteringHtml Constructs an HTML string that can be rendered to display a list of Term objects that can be used to filter on the specified TaxonomyField object.
Public method GetHashCode (Inherited from Object.)
Public method GetProperty (Inherited from SPField.)
Public method GetType (Inherited from Object.)
Public method GetValidatedString Validates the field value object using logic specific to the TaxonomyField object, and returns a serialized string representation of the validated field value object. (Overrides SPField.GetValidatedString(Object).)
Public methodStatic member GetWssIdsOfKeywordTerm Gets an array of the list item IDs of all the list items in the taxonomy hidden list where the Enterprise Keywords field contains the specified Term object.
Public methodStatic member GetWssIdsOfTerm Gets an array of the list item IDs for all of the list items in the taxonomy hidden list that contain the specified Term object.
Protected method HasValue Represents whether the current TaxonomyField object has a value. (Overrides SPFieldLookup.HasValue(Object).)
Public method ListsFieldUsedIn (Inherited from SPField.)
Protected method MemberwiseClone (Inherited from Object.)
Public method OnAdded Occurs after a TaxonomyField object is added. (Overrides SPField.OnAdded(SPAddFieldOptions).)
Public method OnAddingToContentType Occurs when a TaxonomyField object is added to a specified content type. (Overrides SPField.OnAddingToContentType(SPContentType).)
Public method OnDeleting Occurs when a TaxonomyField object is being deleted. (Overrides SPField.OnDeleting().)
Public method OnDeletingFromContentType Occurs when a TaxonomyField object is deleted from a specified content type. (Overrides SPField.OnDeletingFromContentType(SPContentType).)
Protected method OnInitFieldNode (Inherited from SPFieldLookup.)
Public method OnUpdated (Inherited from SPFieldLookup.)
Public method ParseAndSetValue (Inherited from SPField.)
Public method SetCustomProperty (Inherited from SPField.)
Public method SetFieldValue(SPListItem, TaxonomyFieldValue) Sets the value of the corresponding field in the list item to the value of the specified TaxonomyFieldValue object.
Public method SetFieldValue(SPListItem, TaxonomyFieldValueCollection) Sets the value of the corresponding multi-valued field in the list item to the value of the specified TaxonomyFieldValueCollection object.
Public method SetFieldValue(SPListItem, Term) Sets the value of the corresponding field in the list item to the properties of the specified Term object in the default language of the TermStore object.
Public method SetFieldValue(SPListItem, TermCollection) Sets the value of the corresponding multi-value field in the list item to the properties of the Term objects in the specified collection.
Public method SetFieldValue(SPListItem, ICollection<Term>) Sets the value of the corresponding multi-value field in the list item to the properties of the T:Microsoft.SharePoint.Taxonomy.Term objects in the specified collection.
Public method SetFieldValue(SPListItem, Term, Int32) Sets the value of the corresponding field in the list item to the properties of the specified Term in the specified language.
Public method SetFieldValue(SPListItem, TermCollection, Int32) Sets the value of the corresponding multi-value field in the list item to the properties of the Term objects in the specified collection, in the specified language.
Public method SetFieldValue(SPListItem, ICollection<Term>, Int32) Sets the value of the corresponding multi-value field in the list item to the properties of the Term objects in the specified collection, in the specified language.
Public method ToString (Inherited from SPField.)
Public method Update() Updates the database with changes that are made to the TaxonomyField object. (Overrides SPField.Update().)
Public method Update(Boolean) (Inherited from SPField.)

Top

See Also

Reference

TaxonomyField Class

Microsoft.SharePoint.Taxonomy Namespace