SIFWorks ADK 2.0
DefineElement Method (name, earliestVersion)
NamespacesEdustructures.SifWorks.Tools.MetadataAdkMetadataDefineElement(String, SifVersion)

[This is preliminary documentation and is subject to change.]

Define a complex element
Declaration Syntax
C#Visual BasicVisual 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
)
Parameters
name (String)
The tag name of the element
earliestVersion (SifVersion)
The earliest version of the specification this attribute should be recognized in
Return Value
Remarks
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).

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10