Class PropertyVirtualLink
Property that specifies a virtual link, e.g. "Simple address to page".
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.SpecializedProperties
Assembly: EPiServer.dll
Version: 10.10.4Syntax
[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. |
Overrides
ToRawString()
Declaration
public override string ToRawString()
Returns
Type | Description |
---|---|
System.String |