|  | This document is archived and information here might be outdated. Recommended version. | 
Adds a value if necessary and returns its value ID.
[Visual Basic .NET]
Public Function Add ( _
    ByVal Value As String, _
    ByVal Count As Integer _
) As Integer
[C#]
public int Add (
    string Value,
    int Count
);
[C++]
HRESULT Add(
  BSTR Value,
  long Count
);
[C++] Parameters Value [in]
Value is a parameter of type BSTR Count [in]
Count is a parameter of type long