TerGetListInfo
Retrieve information for a list id.
bool TerGetListInfo( ListId, out ListName, out LevelCount, out flags)
bool TerGetListInfo2( ListId, out ListName, out LevelCount, out flags, out RtfId, out TmplId)
int ListId; | The id of the list item. Set this parameter to -1 to retrieve the information about the list id for the current line. The TerGetListOrInfo function can be used to retrieve the list id associated with a list override id. |
string ListName; | The variable to retrieve the list name |
int LevelCount; | The variable to retrieve the number of list levels supported by the list. A nested list supports 9 levels. A simple list supports one level. |
int flags; | The variable to retrieve the list flag (LISTFLAG_?). Please refer to the TerEditList for an available list of list flags. |
int RtfId; | The variable to retrieve the unique RTF id for this list. |
int TmplId; | The variable to retrieve the template id for this list. |
Return Value: This function returns true when successful.