Difference between revisions of "Documentation/DevGuide/ProUNO/Sequences"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (1 revision(s))
 
(5 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
|NextPage=Documentation/DevGuide/ProUNO/Modules
 
|NextPage=Documentation/DevGuide/ProUNO/Modules
 
}}
 
}}
 +
{{Documentation/DevGuideLanguages|Documentation/DevGuide/ProUNO/{{SUBPAGENAME}}}}
 
{{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.
 
+
<syntaxhighlight 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 );
 +
</syntaxhighlight>
 +
{{PDL1}}
  
{{PDL1}}
+
[[Category:Documentation/Developer's Guide/Professional UNO]]
[[Category: Professional UNO]]
+

Latest revision as of 10:42, 23 December 2020



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).
Personal tools
In other languages