Class VirtualPathEventArgs
Virtual path actions event data
Inheritance
System.Object
System.EventArgs
VirtualPathEventArgs
Inherited Members
System.EventArgs.Empty
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.Web.Hosting
Assembly: EPiServer.Framework.dll
Version: 9.12.2Syntax
public class VirtualPathEventArgs : EventArgs
Constructors
VirtualPathEventArgs(String)
Initializes a new instance of the VirtualPathEventArgs class.
Declaration
public VirtualPathEventArgs(string virtualPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | virtualPath | The previous virtual path. |
VirtualPathEventArgs(VirtualFileBase)
Initializes a new instance of the VirtualPathEventArgs class.
Declaration
public VirtualPathEventArgs(VirtualFileBase virtualItem)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Hosting.VirtualFileBase | virtualItem | The virtual item - directory or file. |
Properties
Cancel
Gets or sets a value indicating whether the operation should be cancelled.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
VirtualItem
Gets or sets the virtual item (file or directory).
Declaration
public VirtualFileBase VirtualItem { get; set; }
Property Value
Type | Description |
---|---|
System.Web.Hosting.VirtualFileBase |
VirtualPath
Gets or sets the previous virtual path.
Declaration
public string VirtualPath { get; }
Property Value
Type | Description |
---|---|
System.String | The virtual path. |