Class PublishedContentType
Inheritance
System.Object
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
public class PublishedContentType
Properties
Alias
Declaration
public string Alias { get; }
Property Value
Type |
Description |
System.String |
|
CompositionAliases
Declaration
public HashSet<string> CompositionAliases { get; }
Property Value
Type |
Description |
System.Collections.Generic.HashSet<System.String> |
|
Id
Declaration
Property Value
Type |
Description |
System.Int32 |
|
PropertyTypes
Declaration
public IEnumerable<PublishedPropertyType> PropertyTypes { get; }
Property Value
Methods
Get(PublishedItemType, String)
Declaration
public static PublishedContentType Get(PublishedItemType itemType, string alias)
Parameters
Returns
GetPropertyIndex(String)
Declaration
public int GetPropertyIndex(string alias)
Parameters
Type |
Name |
Description |
System.String |
alias |
|
Returns
Type |
Description |
System.Int32 |
|
GetPropertyType(Int32)
Declaration
public virtual PublishedPropertyType GetPropertyType(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
GetPropertyType(String)
Declaration
public virtual PublishedPropertyType GetPropertyType(string alias)
Parameters
Type |
Name |
Description |
System.String |
alias |
|
Returns