SDK:IWidgetDataPopup::GetAt

From Vectorworks Developer
Jump to navigation Jump to search

.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference

Description

Member of SDK:IWidgetDataPopup

Return item <idName, text> pair at specified index in the list.

virtual bool GetAt(
size_t index,
TXString& outIdName,
TXString& outText) const = 0;

Parameters

index size_t Item zero based index.
outIdName TXString& Output parameter. Return the pair idName.
outText TXString& Output parameter. Return the pair text.

Return Value

Return true if the item was found. False if not found meaning that the index is incorrect.