Interface IContentTypeService
Manages IContentType objects.
Namespace: Umbraco.Cms.Core.Services
Assembly: Umbraco.Core.dll
Syntax
public interface IContentTypeService : IContentTypeBaseService<IContentType>, IContentTypeBaseService, IService
Methods
View SourceGetAllContentTypeAliases(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> |
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> |
GetAllPropertyTypeAliases()
Gets all property type aliases.
Declaration
IEnumerable<string> GetAllPropertyTypeAliases()
Returns
Type | Description |
---|---|
IEnumerable<System.String> |