---
Product: Aspose.3D
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/java/PropertyCollection
---

# PropertyCollection

## Overview

`PropertyCollection` is a class in Aspose.3D FOSS for Java.
Inherits from: `Iterable`.

PropertyCollection.add adds the specified Property to the collection.

This class provides 8 methods for working with PropertyCollection objects in Java programs.
Available methods include: `add`, `findProperty`, `get`, `iterator`, `remove`, `set`, `size`.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.

## Methods

| Signature | Description |
|-----------|-------------|
| `add(property: Property)` | Adds the specified Property to the collection |
| `remove(property: Property)` | Removes the specified Property from the collection |
| `findProperty(name: String)` → `Property` | Returns the Property with the given name or null if not found |
| `get(name: String)` → `Object` | Returns the value associated with the given property name |
| `set(name: String, value: Object)` | Assigns the given value to the property with the specified name |
| `iterator()` → `java.util.Iterator` | Provides an iterator over the Property objects in the collection |
| `size()` → `int` | Returns the number of Property objects in the collection |
| `get(idx: int)` → `Property` | Calls get(idx) on this PropertyCollection instance. |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)