Class PropertyGuidList
A property type that is used as backing type when you want a list of System.Guids. To use this on a content type, add a property of the type System.Collections.Generic.IList<T>.
Inheritance
System.Object
PropertyGuidList
Namespace: EPiServer.Commerce.SpecializedProperties
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0Syntax
public class PropertyGuidList : PropertyList<Guid>
Constructors
PropertyGuidList()
Declaration
public PropertyGuidList()
Methods
ParseItem(String)
Parses the string to a System.Guid object.
Declaration
protected override Guid ParseItem(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value. |
Returns
Type | Description |
---|---|
System.Guid | A guid. |
ParseToObject(String)
Creates a new instance of EPiServer.Core.PropertyData with the given value, ie reversed ToString().
Declaration
[Obsolete("ParseToObject is no longer required by the CMS. The same functionality can be achieved by creating a new instance and calling the ParseToSelf method.")]
public override PropertyData ParseToObject(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The string value to parse. |
Returns
Type | Description |
---|---|
EPiServer.Core.PropertyData | A new instance of EPiServer.Core.PropertyData with the given value. |
Remarks
The value should be comma separated list using the the format for each value as specified on ParseItem(String) method.