Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

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: 11.20.7
[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
Declaration
[Obsolete("Method will no longer be called on Export. See EPiServer.Core.Transfer.Internal.PropertyVirtualLinkTransform class for equivalent functionality.")]
public override string ToRawString()
Returns
Type Description
System.String
Overrides

Implements

Extension Methods

EPiServer.Core.PropertyDataExtensions.TranslateDisplayName(EPiServer.Core.PropertyData)
EPiServer.Core.PropertyDataExtensions.TranslateDescription(EPiServer.Core.PropertyData)