Compartir a través de


IPMPropInfo:IDispatch (Windows CE 5.0)

Send Feedback

This interface provides the ability to access and change a specified property information object. A property information object holds a registry key value for a property. A property object may have one or more property information objects. Each property information object corresponds to a registry key value for the property. The property information object is returned as part of a collection by the IPMProperty::EnumPropInfos method. The property information object is returned as a single object by the IPMProperty::GetPropInfo method.

The following code sample shows one technique for accessing a property information object from an Automation client.

Dim tPropInfo as Object
Set tPropInfo = tProperty.GetPropInfo( <Name of property info object> )

The following code sample shows a second technique for accessing a property information object from an Automation client.

For Each tPropInfo in tProperty.EnumPropInfos
  ' Access the property info object here.
Next tPropInfo

The following code sample shows a third technique for accessing a property information object from an Automation client.

Dim nIndex as Integer
For nIndex = 1 to tProperty.EnumPropInfos.Count
  Set tPropInfo = tProperty.EnumPropInfos.Item(nIndex)
  ' Access the property info object here.
Next

The following table shows this interface's methods.

Method Description
IPMPropInfo::Name Obtains or sets the name of the property information object.
IPMPropInfo::Type Obtains or sets the type of the property information object.
IPMPropInfo::Value Obtains or sets the value of the property information object.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Propinfo.h, Cemgr.idl.

See Also

Platform Manager API | IPMProperty::EnumPropInfos | IPMProperty::GetPropInfo

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.