Freigeben über


IConfigurationSystem.GetConfig-Methode

Diese Methode unterstützt die .NET Framework-Infrastruktur und ist nicht für die direkte Verwendung in Code bestimmt.

Ruft die angegebene Konfiguration ab.

Namespace: System.Configuration
Assembly: System (in system.dll)

Syntax

'Declaration
Function GetConfig ( _
    configKey As String _
) As Object
'Usage
Dim instance As IConfigurationSystem
Dim configKey As String
Dim returnValue As Object

returnValue = instance.GetConfig(configKey)
Object GetConfig (
    string configKey
)
Object^ GetConfig (
    String^ configKey
)
Object GetConfig (
    String configKey
)
function GetConfig (
    configKey : String
) : Object

Parameter

  • configKey
    Der Konfigurationsschlüssel.

Rückgabewert

Das Objekt, das die Konfiguration darstellt.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

IConfigurationSystem-Schnittstelle
IConfigurationSystem-Member
System.Configuration-Namespace