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