Method Close
Close()
Closes a GeoPackage.
Declaration
public void Close()
Remarks
Before you close a GeoPackage you should remove all references to the data it contains, such as removing the feature layer from a map and releasing the GeoPackageFeatureTable. Attempts to access a GeoPackage after it is closed will fail, resulting in an error.
After closing a GeoPackage, the underlying files it references can be deleted or moved.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.2.1 - 200.5 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.5 |