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

Class LegacyResourceableExtensions

help functions to handle legacy page folder

Inheritance
System.Object
LegacyResourceableExtensions
Inherited Members
System.Object.ToString()
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.Util
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
public static class LegacyResourceableExtensions

Methods

GetLegcayContentFolderID(IContent)

Gets the legcay content folder ID.

Declaration
[Obsolete("Only used for old Virtual Path Providers")]
public static long GetLegcayContentFolderID(this IContent content)
Parameters
Type Name Description
IContent content

The content.

Returns
Type Description
System.Int64

IsLegacyResourceable(IContent)

Determines whether [is legacy resourceable] [the specified content].

Declaration
[Obsolete("Only used for old Virtual Path Providers")]
public static bool IsLegacyResourceable(this IContent content)
Parameters
Type Name Description
IContent content

The content.

Returns
Type Description
System.Boolean

true if [is legacy resourceable] [the specified content]; otherwise, false.

SetLegcayContentFolderID(IContent, Int64)

Sets the legcay content folder ID.

Declaration
[Obsolete("Only used for old Virtual Path Providers")]
public static void SetLegcayContentFolderID(this IContent content, long id)
Parameters
Type Name Description
IContent content

The content.

System.Int64 id

The id.