IJavaCommentTags::Add

Adds a new tag to the collection. The tag name is the same as the others in the collection.

Syntax

HRESULT Add(
[in] BSTR bstrText,
[in] long nIndex
);

Sub Add(ByVal bstrText As String, ByVal nIndex As Long)

Parameters

bstrText

String. Tag text.

nIndex

The index of the existing member before which the new comment tag should be inserted. To insert the new comment tag at the end of the class, pass –1 as the index.