Share via


MapConfiguration.GetSection Method (String, String, String, MapConfigurationCallback, Object)

 

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.String

    The version string of the configuration.

  • sectionName
    Type: System.String

    The name of the configuration section.

  • userState
    Type: System.Object

    An 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