NAnt SDK Documentation - v0.92 |

# Task.GetAttributeConfigurationNode Method (FrameworkInfo, String)

Locates the XML node for the specified attribute in either the configuration section of the extension assembly or the.project.

[Visual Basic]
Overrides Overloads Protected Function GetAttributeConfigurationNode( _
ByVal framework As FrameworkInfo, _
ByVal attributeName As String _
) As XmlNode
[C#]
protected override XmlNode GetAttributeConfigurationNode(
FrameworkInfo framework,
string attributeName
);

#### Parameters

framework
  The framework to use to obtain framework specific information, or a null reference (Nothing in Visual Basic) if no framework specific information should be used.
attributeName
  The name of attribute for which the XML configuration node should be located.

#### Return Value

The XML configuration node for the specified attribute, or a null reference (Nothing in Visual Basic) if no corresponding XML node could be located.

#### Remarks

If there's a valid current framework, the configuration section for that framework will first be searched. If no corresponding configuration node can be located in that section, the framework-neutral section of the project configuration node will be searched.

#### See Also

Task Class | NAnt.Core Namespace | Task.GetAttributeConfigurationNode Overload List