Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IContentTypeService

    Manages IContentType objects.

    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IContentTypeService : IContentTypeBaseService<IContentType>, IContentTypeBaseService, IService

    Methods

    View Source

    GetAllContentTypeAliases(Guid[])

    Gets all content type aliases

    Declaration
    IEnumerable<string> GetAllContentTypeAliases(params Guid[] objectTypes)
    Parameters
    Type Name Description
    Guid[] objectTypes

    If this list is empty, it will return all content type aliases for media, members and content, otherwise it will only return content type aliases for the object types specified

    Returns
    Type Description
    IEnumerable<System.String>
    View Source

    GetAllContentTypeIds(String[])

    Returns all content type Ids for the aliases given

    Declaration
    IEnumerable<int> GetAllContentTypeIds(string[] aliases)
    Parameters
    Type Name Description
    System.String[] aliases
    Returns
    Type Description
    IEnumerable<System.Int32>
    View Source

    GetAllPropertyTypeAliases()

    Gets all property type aliases.

    Declaration
    IEnumerable<string> GetAllPropertyTypeAliases()
    Returns
    Type Description
    IEnumerable<System.String>
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • GetAllContentTypeAliases(Guid[])
      • GetAllContentTypeIds(String[])
      • GetAllPropertyTypeAliases()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX