PortalGetDependentEnumsForParentValue Method
This method retrieves a dependent property’s enumerated values for an index of an enumerated value of a parent property.

Namespace:  PortalService
 

Syntax
C#
public long GetDependentEnumsForParentValue(
	long ObjectType,
	long PropertyID,
	long ParentEnumValue,
	out PortalEnum[] ChildEnums,
	out string error
)

Parameters

ObjectType
Type: SystemInt64
[in]The ID of the custom object.
PropertyID
Type: SystemInt64
[in]The ID of the dependent property for which values will be retrieved.
ParentEnumValue
Type: SystemInt64
[in]The index of the enumerated value of a parent property.
ChildEnums
Type: PortalEnum
[out]Array of PortalEnum structure that contain child enumerated values.
error
Type: SystemString
[out]The error message returned if the operation fails.

Return Value

Type: Int64
This method returns 0 if the operation is successful and a negative value if the operation fails.
See Also