Class MediaItemExtensions
Inheritance
System.Object
MediaItemExtensions
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: ImageVault.EPiServer.Common
Assembly: ImageVault.EPiServer.Common.dll
Syntax
public static class MediaItemExtensions
Methods
GetMetadataValue<T>(MediaItem, String, T, MetadataDefinitionTypes)
Declaration
public static T GetMetadataValue<T>(this MediaItem mediaItem, string metadataName, T defaultValue = null, MetadataDefinitionTypes definitionType)
Parameters
Type | Name | Description |
---|---|---|
MediaItem | mediaItem | |
System.String | metadataName | |
T | defaultValue | |
MetadataDefinitionTypes | definitionType |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |