Visual Basic (Declaration) | |
---|---|
Public Sub Open() |
C# | |
---|---|
public void Open() |
A Mobilecache must be opened before it can be consumed by Map control.
Before a Mobilecache can be opened, the MobileCache files (which are stored in the folder as defined by MobileCache.StoragePath) must be available. If the Mobilecache files do not exist with layer schemas ready, they need to be created by MobileCache.Create method.
For reading/writing purposes, the Mobilecache file will be locked once it's opened. To explicitly unlock a Mobilecache file, use Mobilecache.Close.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family