Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConfigurationReader.GetSectionFromXmlDocument(TResult) Method

Returns the typed result of evaluating the specified configSectionName.

[Visual Basic]
Public Shared Sub GetSectionFromXmlDocument(Of TResult)( _
   ByVal configDocument As XmlDocument, _
   ByVal configSectionName As String _
)
[C#]
public static TResult GetSectionFromXmlDocument<TResult>(
   XmlDocument configDocument,
   string configSectionName
);

Exceptions

Exception Type Condition
ArgumentException if the result's type does not match the expected type

See Also

ConfigurationReader Class | Spring.Objects.Factory.Config Namespace