IElement.GetAttribute method
Gets the value of a specific attribute by name.
public string GetAttribute(string attributeName)
| parameter | description |
|---|---|
| attributeName | The name of the attribute to retrieve. |
Return Value
The attribute value if found, null otherwise.
Exceptions
| exception | condition |
|---|---|
| ArgumentException | Thrown when attributeName is null or whitespace. |
See Also
- interface IElement
- namespace Autodesk.DataExchange.Interface