Class PublishedContentTypeExtensions
Inheritance
System.Object
Namespace: Umbraco.Core.Models.PublishedContent
Assembly: Umbraco.Core.dll
Syntax
public static class PublishedContentTypeExtensions
Methods
View SourceTryGetKey(IPublishedContentType, out Guid)
Get the GUID key from an IPublishedContentType
Declaration
public static bool TryGetKey(this IPublishedContentType publishedContentType, out Guid key)
Parameters
Type | Name | Description |
---|---|---|
IPublishedContentType | publishedContentType | |
System.Guid | key |
Returns
Type | Description |
---|---|
System.Boolean |