View Source
Interface IPublishStatusQueryService
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.
|