Adds the content of the term to.
Namespace: DotNetNuke.Entities.Content.TaxonomyAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public void AddTermToContent( Term term, ContentItem contentItem ) |
| Visual Basic |
|---|
Public Sub AddTermToContent ( term As Term, contentItem As ContentItem ) |
Parameters
- term
- Type: DotNetNuke.Entities.Content.Taxonomy..::..Term
The term.
- contentItem
- Type: DotNetNuke.Entities.Content..::..ContentItem
The content item.
Implements
ITermController..::..AddTermToContent(Term, ContentItem)
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | term is null. |
| System..::..ArgumentNullException | content item is null. |