Share via


IPMPropInfo:IDispatch

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

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.