Sitecore 5.0 API

ItemPath.IsMediaItem Property

Gets a value indicating whether this item is a descendant of the /sitecore/media library item.

[Visual Basic]
Public ReadOnly Property IsMediaItem As Boolean
[C#]
public bool IsMediaItem {get;}

Property Value

true if this item is a descendant of the /sitecore/media library; otherwise, false.

See Also

ItemPath Class | Sitecore.Data Namespace