PropertyValue class
Leave feedback
On this page
The PropertyValue represents a property value.
The PropertyValue type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a PropertyValue with an integer value. |
| init | Initializes a new PropertyValue with a long integer value. |
| init | Initializes a new PropertyValue with a boolean value. |
| init | Initializes a PropertyValue with a double (float) value. |
| init | Initializes a new PropertyValue with a string value. |
| init | Initializes a new PropertyValue with the given value. |
| init | Initializes a PropertyValue with a datetime value. |
| init | Initializes a new PropertyValue instance with a timedelta value. |
| init | Initializes a new PropertyValue with a list of strings. |
| init | Initializes a PropertyValue with a byte array. |
| init | Initializes a new PropertyValue with an array of double values. |
| init | Initializes a new PropertyValue with an array of integer values. |
| init | Initializes a new PropertyValue with an array of long values. |
| init | Initializes a new PropertyValue instance with an array of unsigned 16‑bit integer values. |
| Method | Description |
|---|---|
| accept_value | Extracts the property value using a custom ValueAcceptor. |
| accept_value_value_acceptor | |
| to_array | |
| to_class | |
| to_string | Returns a string that represents the property value. |
| to_struct | |
| to_struct |
from datetime import datetime
from groupdocs.metadata.common import PropertyValue
# Create a PropertyValue containing the current date and time
value = PropertyValue(datetime.now())
Task guides that use PropertyValue:
- module
groupdocs.metadata.common
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.