This document is archived and information here might be outdated.  Recommended version.


IDynamicCacheLayerManager.FolderName Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IDynamicCacheLayerManager.FolderName Property

If cache exists, returns the layername plus guid. If cache does not exists, returns nothing.

[Visual Basic .NET]
Public ReadOnly Property FolderName As String
[C#]
public string FolderName {get;}
[C++]
HRESULT get_FolderName(
  BSTR* cacheFolderName
);
[C++]

Parameters cacheFolderName [out, retval] cacheFolderName is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Errors Returned

Unless the input layer is a group layer (set by method IDynamicCacheLayerManager.Init()), E_FAIL will be returned (will be translated into an exception in .NET and Java).

Remarks

The folder name is composed of a clean layer name (layer name without special characters) plus a global unique identifier (GUID).

See Also

IDynamicCacheLayerManager Interface

.NET Samples

Dynamic cache layer manager controller (Code Files: CacheManagerDlg)

.NET Related Topics

Persisting cache information for use in dynamic display