Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Loads the configuration. If configuration is already loaded, this method calls the callback function without trying to load the configuration.
Namespace: Microsoft.Maps.MapControl.WPF.Core
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Syntax
public static void GetSection(
string version,
string sectionName,
string culture,
MapConfigurationCallback callback,
object userState
)
public:
static void GetSection(
String^ version,
String^ sectionName,
String^ culture,
MapConfigurationCallback^ callback,
Object^ userState
)
static member GetSection :
version:string *
sectionName:string *
culture:string *
callback:MapConfigurationCallback *
userState:Object -> unit
Public Shared Sub GetSection (
version As String,
sectionName As String,
culture As String,
callback As MapConfigurationCallback,
userState As Object
)
Parameters
version
Type: System.StringThe version string of the configuration.
sectionName
Type: System.StringThe name of the configuration section.
culture
Type: System.StringThe culture of the configuration.
callback
Type: Microsoft.Maps.MapControl.WPF.Core.MapConfigurationCallbackThe callback function to call after the configuration is loaded.
userState
Type: System.ObjectAn object that stores user defined information. This object is returned in the callback function.
See Also
GetSection Overload
MapConfiguration Class
Microsoft.Maps.MapControl.WPF.Core Namespace
Return to top