Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Add ====== Method of [[:scripting:api:list-pane:start|IListPane]] ===== Description ===== Add new line to the list ===== Parameters ===== * [[scripting:api:data-type:VARIANT_BOOL|VARIANT_BOOL]] **bSelected** * [[scripting:api:data-type:long|long]] **nImage** * [[scripting:api:data-type:SAFEARRAY(VARIANT)|SAFEARRAY(VARIANT)]] **Items** ==== Return Value ==== * [[:scripting:api:list-item:start|IListItem]] **ppItem** ===== Syntax ===== ==== JavaScript ==== <code javascript> var ppItem = ListPane.Add(bSelected, nImage, Items); </code>==== Visual Basic Script ==== <code vb> ppItem = ListPane.Add bSelected, nImage, Items </code>==== C++ ==== <code cpp> CComPtr<IListItem> pItem; HRESULT hr = ListPane.Add(bSelected, nImage, Items, &pItem); </code>===== See Also ===== [[:scripting:api:list-pane:start|IListPane]] ~~NOTOC~~