---
name: "CosPropertyService_PropertiesIterator"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:19.2.1+dfsg-2+deb9u3"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/CosPropertyService_PropertiesIterator"
---

# CosPropertyService\_PropertiesIterator(3erl)

This module implements the OMG CosPropertyService::PropertiesIterator interface.

## NAME

CosPropertyService\_PropertiesIterator - This module implements the OMG CosPropertyService::PropertiesIterator interface.

## DESCRIPTION

To get access to the record definitions for the structures use: \
 *-include\_lib("cosProperty/include/CosPropertyService.hrl").*

## EXPORTS

**reset(Iterator) -\> ok**\

Types:

Iterator = #objref\

This operation resets the position to the first property.

**next\_one(Iterator) -\> Reply**\

Types:

Iterator = #objref\
 Reply = {boolean(), #'CosPropertyService\_Property'{property\_name = Name, property\_value = Value}}\
 Name = string()\
 Value = #any\

This operation returns true . If false is returned the out parameter is a non-valid Property.

**next\_n(Iterator, HowMany) -\> Reply**\

Types:

Iterator = #objref\
 HowMany = long()\
 Reply = {boolean(), Properties}\
 Properties = \[#'CosPropertyService\_Property'{property\_name = Name, property\_value = Value}\]\
 Name = string()\
 Value = #any\

This operation returns true if the requested number of properties can be delivered and there are additional properties. If false is returned and a sequence of max *HowMany* properties will be returned and no more properties can be delivered.

**destroy(Iterator) -\> ok**\

Types:

Iterator = #objref\

This operation will terminate the Iterator and all subsequent calls will fail.
