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 ContentFileImportingEventArgs

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

Inheritance
System.Object
System.EventArgs
ContentFileImportingEventArgs
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 ContentFileImportingEventArgs : ChannelPreActionEvent

Constructors

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

Initializes a new instance of the ContentFileImportingEventArgs class.

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

The channel id.

System.String fileName

Name of the file.

System.Guid contentId

The content id.

System.Guid fileId

The file id.

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

The meta data.

Properties

ContentId

Gets or sets the content id.

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

The page id.

FileId

Gets or sets the file id.

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

The file id.

FileName

Gets or sets the name of the file

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

The virtual path.

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