Updates the term.
Namespace: DotNetNuke.Entities.Content.TaxonomyAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public void UpdateTerm( Term term ) |
Visual Basic |
---|
Public Sub UpdateTerm ( term As Term ) |
Parameters
- term
- Type: DotNetNuke.Entities.Content.Taxonomy..::..Term
The term.
Implements
ITermController..::..UpdateTerm(Term)
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | term is null. |
System..::..ArgumentOutOfRangeException | term.TermId is less than 0. |
System..::..ArgumentOutOfRangeException | term.VocabularyId is less than 0. |
System..::..ArgumentException | term.Name is empty. |