Adds the content of the term to.

Namespace: DotNetNuke.Entities.Content.Taxonomy
Assembly: 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

ExceptionCondition
System..::..ArgumentNullExceptionterm is null.
System..::..ArgumentNullExceptioncontent item is null.

See Also