NShape Reference
Store.CheckShapeTypeInUse Method

<< Click to Display Table of Contents >>

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

NShape Reference
Store.CheckShapeTypeInUse Method

Previous pageReturn to chapter overviewNext page

Checks if the given shape type is still in use.

Syntax

public abstract bool CheckShapeTypeInUse(IStoreCache cache, string typeName)

Description

Checks if the shape type with the given type name given type 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.

typeName

The name of the shape type to check.

Return Value

Returns true if the shape type is still in use.