IPMProperty:IDispatch (Windows CE 5.0)
This interface provides the ability to access and change a specified property object. An Automation client accesses a property object through the IPMPlatformManager, IPMPlatform, IPMRemoteDevice, IPMBootableDevice, IPMServiceCategory, and IPMServiceInfo interfaces.
The following code sample shows one technique for accessing a property using the platform object.
Dim tProperty as Object
For Each tProperty in tPlatform.EnumProperties
' Access the property object here.
Next tProperty
The following code sample shows a second technique for accessing a property using the platform object.
Dim nIndex as Integer
For nIndex = 1 to tPlatform.EnumProperties.Count
Set tProperty = tPlatform.EnumProperties.Item(nIndex)
' Access the property object here.
Next
The following table shows this interface's methods.
Method | Description |
---|---|
IPMProperty::Id | Retrieves the GUID associated with the property object. |
IPMProperty::EnumProperties | Enumerates the properties associated with the property object. |
IPMProperty::GetProperty | Obtains a property object for a specified bstrPropId element. |
IPMProperty::AddProperty | Adds a property object to the IPMProperty interface and returns this object. |
IPMProperty::DeleteProperty | Deletes the property object corresponding to a specified bstrPropId element. |
IPMProperty::EnumPropInfos | Enumerates the property information objects within the property. |
IPMProperty::GetPropInfo | Obtains a property information object for a specified bstrPropInfoId element. |
IPMProperty::AddPropInfo | Adds a property information object to the IPMProperty interface and returns this object. |
IPMProperty::DeletePropInfo | Deletes the property info object corresponding to a specified bstrPropId element. |
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Property.h, Cemgr.idl.
See Also
Platform Manager API | IPMBootableDevice | IPMPlatform | IPMPlatformManager | IPMRemoteDevice | IPMServiceCategory | IPMServiceInfo
Send Feedback on this topic to the authors