Class PropertyVirtualLink
Property that specifies a virtual link, e.g. "Simple address to page".
Inherited Members
Namespace: EPiServer.SpecializedProperties
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[PropertyDefinitionTypePlugIn]
public class PropertyVirtualLink : PropertyString, IReadOnly<PropertyData>, IReadOnly
Remarks
The String or Value properties sets and gets the external display string of the link. Leading ~/, / or ~ will be removed. LoadData() and SaveData() will get and set the internal representation.
Constructors
PropertyVirtualLink()
Declaration
public PropertyVirtualLink()
Properties
IsNull
Declaration
public override bool IsNull { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
String
Gets or sets the string.
Declaration
protected override string String { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representation of the virtual link. |
Overrides
Methods
LoadData(Object)
Sets the internal representation from what is stored in the database. "Deserialize".
Declaration
public override void LoadData(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value. |
Overrides
SaveData(PropertyDataCollection)
Return any internal data that will be stored to the database. "Serialize".
Declaration
public override object SaveData(PropertyDataCollection properties)
Parameters
Type | Name | Description |
---|---|---|
PropertyDataCollection | properties | Current property collection |
Returns
Type | Description |
---|---|
System.Object | The internal string representation of the property. |