NShape Reference
Store.CheckStyleInUse Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.Advanced > Store Class >

NShape Reference
Store.CheckStyleInUse Method

Previous pageReturn to chapter overviewNext page

Checks if the style associated with the given id is still in use.

Syntax

public abstract bool CheckStyleInUse(IStoreCache cache, object styleId)

Description

Checks if the style associated with the given id is referenced by objects that are not loaded at the moment.

Applies only to stores that support partial loading, such as the AdoNetStore.

Parameters

Name

Description

cache

The store cache associated with this store.

styleId

The id of the style to be checked.

Return Value

Returns true if the style is still in use.