[This is preliminary documentation and is subject to change.]
Define an attribute of a SIF Data Object.
| C# | Visual Basic | Visual 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 )
- 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
An IElementDef instance encapsulating metadata for this attribute