Adds the vocabulary.
Namespace: DotNetNuke.Entities.Content.DataAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public int AddVocabulary( Vocabulary vocabulary, int createdByUserId ) |
Visual Basic |
---|
Public Function AddVocabulary ( vocabulary As Vocabulary, createdByUserId As Integer ) As Integer |
Parameters
- vocabulary
- Type: DotNetNuke.Entities.Content.Taxonomy..::..Vocabulary
The vocabulary.
- createdByUserId
- Type: System..::..Int32
The created by user id.