Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IDataTypeUsageService

    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IDataTypeUsageService

    Methods

    View Source

    HasSavedValuesAsync(Guid)

    Checks if there are any saved property values using a given data type.

    Declaration
    Task<Attempt<bool, DataTypeOperationStatus>> HasSavedValuesAsync(Guid dataTypeKey)
    Parameters
    Type Name Description
    Guid dataTypeKey

    The key of the data type to check.

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

    An attempt with status and result if there are any property values using the data type, otherwise false.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX