Class ContentFileMetaDataImportingEventArgs

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

Inheritance
System.Object
System.EventArgs
ContentFileMetaDataImportingEventArgs
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 ContentFileMetaDataImportingEventArgs : ChannelEventArgs

Constructors

ContentFileMetaDataImportingEventArgs(String, IContentMedia, IDictionary<String, String>)

Initializes a new instance of the FileMetaDataImportingEventArgs class.

Declaration
public ContentFileMetaDataImportingEventArgs(string channelId, IContentMedia file, IDictionary<string, string> metaData)
Parameters
Type Name Description
System.String channelId

The channel id.

IContentMedia file

The file for which meta data is being imported

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

The meta data being imported

Properties

File

Gets the file metadata will be written to

Declaration
public IContentMedia File { get; }
Property Value
Type Description
IContentMedia

The file

MetaData

Gets the meta data.

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

The meta data.

Extension Methods