I've created a custom property that inherits from PropertyMultipleValue on the assumption that I can store multiple values in a comma delimited string. Using the SetDefaultValue method, I set the initial value to "0,0" like so:
Protected Overrides Sub SetDefaultValue() Me.String = "value1,value2" End Sub
My assumption was that I should have been able to retrieve the values like so:
PropertyName.Value(0) and PropertyName.Value(1)
However, the above will merely return an index within the string. How do I retrieve the values from the string? Do I need to split the string? And if so, how is the PropertyMultipleValue different from PropertyString?
Hi folks
* Using CMS5 R2
I've created a custom property that inherits from PropertyMultipleValue on the assumption that I can store multiple values in a comma delimited string. Using the SetDefaultValue method, I set the initial value to "0,0" like so:
PropertyName.Value(0) and PropertyName.Value(1)
However, the above will merely return an index within the string. How do I retrieve the values from the string? Do I need to split the string? And if so, how is the PropertyMultipleValue different from PropertyString?