[This is preliminary documentation and is subject to change.]

Inserts the list item

Namespace:  OfficeClip.DBLayer.Metabase
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public int InsertListItem(
	int attributeId,
	string listText
)
Visual Basic (Declaration)
Public Function InsertListItem ( _
	attributeId As Integer, _
	listText As String _
) As Integer
Visual C++
public:
int InsertListItem(
	int attributeId, 
	String^ listText
)

Parameters

attributeId
Type: System..::.Int32
The unique id of the attribute
listText
Type: System..::.String
The list text

Return Value

the id if successful, -1 if failure, -2 if the name is already present

See Also