# IProperties

Description:

`IProperties` is a collection for properties.
```cpp
import "OxSvrSpt.idl"
```
Public Methods:
```cpp
HRESULT Refresh ()
```
Properties:
```cpp
long Count [get]
IProperty Item([in] VARIANT Index) [get]
```
Documentation of Element Functions:

* `HRESULT Refresh ()`

`Refresh` updates the `Property` collection. All entries in this collection are recreated.

Documentation of Properties:

* `long Count [get]`

`Count` returns the number of elements in the collection.

Parameters:

: `plNumber` (VB return value) number of elements in the collection.

* `IProperty Item([in] VARIANT Index) [get]`

`Item` returns the specified element of the collection based on position or key.

If a position outside the valid index is specified, an error with the error value `errCollectionIndexOutOfRange` is returned. If the item cannot be found, an error with the value `errCollectionItemNotFound` is returned.

Parameters:

: `Index` position or name of the requested element.

: `ppItem` (VB return value) corresponding `FileParameter` object.
