Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractObjectDefinitionParser.GetAttributeValue(XmlElement, String) Method

Returns the value of the element's attribute or null, if the attribute is not specified.

[Visual Basic]
Protected Overloads Shared Sub GetAttributeValue( _
   ByVal element As XmlElement, _
   ByVal attributeName As String _
)
[C#]
protected static string GetAttributeValue(
   XmlElement element,
   string attributeName
);

Remarks

This is a helper for bypassing the behavior of GetAttribute to return Empty if the attribute does not exist.

See Also

AbstractObjectDefinitionParser Class | Spring.Objects.Factory.Xml Namespace | AbstractObjectDefinitionParser.GetAttributeValue Overload List