NetSectionGroup.GetSectionGroup(Configuration) Method

Definition

Gets the System.Net configuration section group from the specified configuration file.

public:
 static System::Net::Configuration::NetSectionGroup ^ GetSectionGroup(System::Configuration::Configuration ^ config);
public static System.Net.Configuration.NetSectionGroup GetSectionGroup (System.Configuration.Configuration config);
static member GetSectionGroup : System.Configuration.Configuration -> System.Net.Configuration.NetSectionGroup
Public Shared Function GetSectionGroup (config As Configuration) As NetSectionGroup

Parameters

config
Configuration

A Configuration that represents a configuration file.

Returns

A NetSectionGroup that represents the System.Net settings in config.

Remarks

Use this method to extract the network settings from a configuration file.

Applies to