Difference between revisions of "Documentation/DevGuide/ProUNO/Sequences"
From Apache OpenOffice Wiki
< Documentation | DevGuide
m (1 revision(s)) |
|||
Line 8: | Line 8: | ||
{{DISPLAYTITLE:Sequences}} | {{DISPLAYTITLE:Sequences}} | ||
A <code>sequence</code> type is a set of elements of the same type, that has a variable number of elements. In UNO IDL, the used element always references an existing and known type or another sequence type. A sequence can occur as a normal type in all other type definitions. | A <code>sequence</code> type is a set of elements of the same type, that has a variable number of elements. In UNO IDL, the used element always references an existing and known type or another sequence type. A sequence can occur as a normal type in all other type definitions. | ||
− | + | <source lang="idl"> | |
sequence< com::sun::star::uno::XInterface > | sequence< com::sun::star::uno::XInterface > | ||
sequence< string > getNamesOfIndex( sequence< long > indexes ); | sequence< string > getNamesOfIndex( sequence< long > indexes ); | ||
− | + | </source> | |
{{PDL1}} | {{PDL1}} | ||
[[Category: Professional UNO]] | [[Category: Professional UNO]] |
Revision as of 21:45, 15 March 2008
A sequence
type is a set of elements of the same type, that has a variable number of elements. In UNO IDL, the used element always references an existing and known type or another sequence type. A sequence can occur as a normal type in all other type definitions.
sequence< com::sun::star::uno::XInterface > sequence< string > getNamesOfIndex( sequence< long > indexes );
Content on this page is licensed under the Public Documentation License (PDL). |