Sitecore 5.1.1 API

Settings.GetObject Method 

[Visual Basic]
Public Shared Function GetObject( _
   ByVal objectID As String, _
   ByVal configPath As String, _
   ByVal expectedType As Type _
) As Object
[C#]
public static object GetObject(
   string objectID,
   string configPath,
   Type expectedType
);

See Also

Settings Class | Sitecore.Configuration Namespace