A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://apidocs.umbraco.com/v15/csharp/api/Umbraco.Cms.Core.Services.IPropertyTypeUsageService.html below:

View Source Interface IPropertyTypeUsageService Namespace: Umbraco.Cms.Core.Services Assembly: Umbraco.Core.dll Syntax
public interface IPropertyTypeUsageService
Methods View Source HasSavedPropertyValues(String)

Checks if a property type has any saved property values associated with it.

Declaration
bool HasSavedPropertyValues(string propertyTypeAlias)
Parameters Type Name Description System.String propertyTypeAlias

The alias of the property type to check.

Returns Type Description System.Boolean

True if the property type has any property values, otherwise false.

View Source HasSavedPropertyValuesAsync(Guid, String)

Checks if a property type has any saved property values associated with it.

Declaration
Task<Attempt<bool, PropertyTypeOperationStatus>> HasSavedPropertyValuesAsync(Guid contentTypeKey, string propertyAlias)
Parameters Type Name Description Guid contentTypeKey

The key of the content type to check.

System.String propertyAlias

The alias of the property to check.

Returns Type Description Task<Attempt<System.Boolean, PropertyTypeOperationStatus>>

An attempt with status and result if the property type has any property values, otherwise false.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4