Gets the attribute at the specified index.
| C# | Visual Basic |
public ServiceAttribute GetAttributeByIndex( int index )
Public Function GetAttributeByIndex ( _ index As Integer _ ) As ServiceAttribute
- index (Int32)
- The zero-based index of the attribute to get.
A ServiceAttribute holding
the attribute at the specified index.
Is never nullNothingnullptr.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException |
index is less than 0. -or- index is equal to or greater than Count. |