ClearEnums

Clear all enumeration values for property.

Syntax

object.ClearEnums()

The ClearEnums method syntax has the following parts:

Part Description
object An expression evaluating to an object of type PropNode.

Example

Private Sub pl_FetchData(ByVal property As DDPropertyListCtl.IPropNode)
Select Case property.Name
Case "State"
property.ClearEnums
property.AddEnum "AL", "Alabama"
property.AddEnum "CA", "California"
property.AddEnum "OH", "Ohio"
property.AddEnum "NC", "North Carolina"
End Select
End Sub