November Happy Hour will be moved to Thursday December 5th.

Class PropertyVirtualLink

Property that specifies a virtual link, e.g. "Simple address to page".

Inheritance
System.Object
PropertyVirtualLink
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: 9.12.2
[PropertyDefinitionTypePlugIn]
public class PropertyVirtualLink : PropertyString, IReadOnly<PropertyData>, IReadOnly

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

Declaration
public PropertyVirtualLink()

Properties

Declaration
public override bool IsNull { get; }
Property Value
Type Description
System.Boolean
Overrides

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

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

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

Implements

Extension Methods