Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectsNamespaceParser.SelectSingleNode Method

NOTE: This method is now obsolete.

not used anymore - ObjectsNamespaceParser will be dropped with 2.x, use ObjectDefinitionParserHelper instead


Selects a single sub-element with a given childElementName.

[Visual Basic]
<Obsolete(Message:="not used anymore - ObjectsNamespaceParser will be dropped with 2.x, use ObjectDefinitionParserHelper instead", IsError:=False)> _
Protected Sub SelectSingleNode( _
   ByVal element As XmlElement, _
   ByVal childElementName As String _
)
[C#]
[Obsolete(Message="not used anymore - ObjectsNamespaceParser will be dropped with 2.x, use ObjectDefinitionParserHelper instead", IsError=False)]
protected XmlNode SelectSingleNode(
   XmlElement element,
   string childElementName
);

Parameters

element
The element to be searched in.
childElementName
The name of the child node to look for.

Return Value

The first child XmlNode of the supplied element with the supplied childElementName.

Remarks

Uses a namespace manager if necessary.

See Also

ObjectsNamespaceParser Class | Spring.Objects.Factory.Xml Namespace