Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IMediaUrlGenerator

    Used to generate paths to media items for a specified property editor alias

    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IMediaUrlGenerator

    Methods

    View Source

    TryGetMediaPath(String, Object, out String)

    Tries to get a media path for a given property editor alias

    Declaration
    bool TryGetMediaPath(string propertyEditorAlias, object value, out string mediaPath)
    Parameters
    Type Name Description
    System.String propertyEditorAlias

    The property editor alias

    System.Object value

    The value of the property

    System.String mediaPath
    Returns
    Type Description
    System.Boolean

    True if a media path was returned

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • TryGetMediaPath(String, Object, out String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX