Get a list of the numerical IDs of the Attributes in the record
as an IList
of ServiceAttributeId.
| C# | Visual Basic |
public IList<ServiceAttributeId> AttributeIds { get; }
Public ReadOnly Property AttributeIds As IList(Of ServiceAttributeId)
This method will likely be only rarely used: instead
one would generally want either to read a specific attribute using
GetAttributeById(ServiceAttributeId),
or read every attribute by using
ServiceRecord's
IEnumerable ability e.g.
Copy
For Each curAttr As ServiceAttribute In record If curAttr.Id = UniversalAttributeId.ProtocolDescriptorList Then ... Next
Note, for NETCFv1 this returns an instance of the non-Generic list IList.
In C#:
CopyC#
In VB.NET:
Copy
Or without Generics in .NET 1.1 (NETCFv1) in VB.NET:
Copy
IList<ServiceAttributeId> ids = record.GetAttributeIds();
Dim ids As IList(Of ServiceAttributeId) = record.GetAttributeIds()
Dim ids As IList = record.GetAttributeIds()