[This is preliminary documentation and is subject to change.]
Define a complex element
| C# | Visual Basic | Visual C++ |
public IElementDef DefineElement( string name, SifVersion earliestVersion )
Public Function DefineElement ( _ name As String, _ earliestVersion As SifVersion _ ) As IElementDef
public: IElementDef^ DefineElement ( String^ name, SifVersion^ earliestVersion )
- name (String)
- The tag name of the element
- earliestVersion (SifVersion)
- The earliest version of the specification this attribute should be recognized in
A complex element has attributes and/or elements of its own and is represented
by its own class. Complex elements must be defined with this method, and then
added as a child element to a SIF Data Object by calling DefineChildElement(IElementDef, IElementDef, Int32, Byte, SifVersion).