pub struct PropertyCollection {
    pub handle: SmartHandle<SPXPROPERTYBAGHANDLE>,
}
Expand description

PropertyCollection is a class to retrieve or set a property value from a property collection.

Fields

handle: SmartHandle<SPXPROPERTYBAGHANDLE>

Implementations

Creates a PropertyCollection from a handle (for internal use)

SetProperty sets the value of a property.

SetProperty sets the value of a property.

Returns value of a property. If the property value is not defined, the specified default value is returned.

Returns value of a property. If the property value is not defined, the specified default value is returned.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.