SIFWorks ADK 2.0
DefineAttribute Method (parent, name, sequence, earliestVersion)
NamespacesEdustructures.SifWorks.Tools.MetadataAdkMetadataDefineAttribute(IElementDef, String, Int32, SifVersion)

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

Define an attribute of a SIF Data Object.
Declaration Syntax
C#Visual BasicVisual C++
public IElementDef DefineAttribute(
	IElementDef parent,
	string name,
	int sequence,
	SifVersion earliestVersion
)
Public Function DefineAttribute ( _
	parent As IElementDef, _
	name As String, _
	sequence As Integer, _
	earliestVersion As SifVersion _
) As IElementDef
public:
IElementDef^ DefineAttribute (
	IElementDef^ parent, 
	String^ name, 
	int sequence, 
	SifVersion^ earliestVersion
)
Parameters
parent (IElementDef)
The IElementDef constant identifying the parent data object
name (String)
The tag name of the attribute
sequence (Int32)
The zero-based sequence number of the attribute
earliestVersion (SifVersion)
The earliest version of the specification this attribute should be recognized in
Return Value
An IElementDef instance encapsulating metadata for this attribute

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