Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IPublishStatusQueryService

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

    Methods

    View Source

    IsDocumentPublished(Guid, String)

    Declaration
    bool IsDocumentPublished(Guid documentKey, string culture)
    Parameters
    Type Name Description
    Guid documentKey
    System.String culture
    Returns
    Type Description
    System.Boolean
    View Source

    IsDocumentPublishedInAnyCulture(Guid)

    Checks if a document is published in any culture.

    Declaration
    virtual bool IsDocumentPublishedInAnyCulture(Guid documentKey)
    Parameters
    Type Name Description
    Guid documentKey

    Key to check for.

    Returns
    Type Description
    System.Boolean

    True if document has any published culture.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • IsDocumentPublished(Guid, String)
      • IsDocumentPublishedInAnyCulture(Guid)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX