NAnt SDK Documentation - v0.92 |

# Element.InitializeElement Method

NOTE: This method is now obsolete.

Deprecated. Use Initialize() instead

Derived classes should override to this method to provide extra initialization and validation not covered by the base class.

[Visual Basic]
<Obsolete(Message:="Deprecated. Use Initialize() instead", IsError:=False)>
Overridable Protected Sub InitializeElement( _
ByVal elementNode As XmlNode _
)
[C#]
[Obsolete(Message="Deprecated. Use Initialize() instead", IsError=False)]
protected virtual void InitializeElement(
XmlNode elementNode
);

#### Parameters

elementNode
  The XML node of the element to use for initialization.

#### See Also

Element Class | NAnt.Core Namespace