Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class FileImportingEventArgs

Represents the argument passed in the event when a file is to be imported to EPiServer through a channel

Inheritance
System.Object
System.EventArgs
FileImportingEventArgs
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.ContentChannels.Events
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class FileImportingEventArgs : ChannelPreActionEvent

Constructors

FileImportingEventArgs(String, String, Guid, IDictionary<String, String>)

Initializes a new instance of the FileImportingEventArgs class.

Declaration
public FileImportingEventArgs(string channelId, string channelRelativeVirtualPath, Guid fileId, IDictionary<string, string> metaData)
Parameters
Type Name Description
System.String channelId

The channel id

System.String channelRelativeVirtualPath

The virtual path for the file relative to the channel root.

System.Guid fileId

The file id.

System.Collections.Generic.IDictionary<System.String, System.String> metaData

The meta data.

Properties

ChannelRelativeVirtualPath

Gets or sets the virtual path for the file relative the channel root

Declaration
public string ChannelRelativeVirtualPath { get; set; }
Property Value
Type Description
System.String

The virtual path.

FileId

Gets or sets the file id.

Declaration
public Guid FileId { get; set; }
Property Value
Type Description
System.Guid

The file id.

MetaData

Gets the meta data for the file

Declaration
public IDictionary<string, string> MetaData { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

The meta data.

Extension Methods