
368 CHAPTER 5
%FORM_PROFILE_DEFAULTS
'Instantiate a PCDPropertyList object.
pPropList = pDocObj.GetReturnProperties()
'Populate a property list with the profile defaults.
pProfDefaults = pPropList.GetPropertyValue(
“%FORM_PROFILE_DEFAULTS”)
'Check for errors.
If Not( pPropList.ErrNumber = 0) Then
'Process the error.
End If
'Iterate through the default properties.
pProfDefaults.BeginIter()
while( pProfDefaults = 0)
strPropName = pProfDefaults.GetCurrentPropertyName()
strPropValue = pProfDefaults.GetCurrentPropertyValue()
'Process the current property.
'Set the pointer to process the next property value.
pProfDefaults.NextProperty()
Wend
Related Items
See the PCDPropertyList object.
See the
GetPropertyValue method.
Kommentare zu diesen Handbüchern