In The Hand
GetAttributeById Method (id)
NamespacesInTheHand.Net.BluetoothServiceRecordGetAttributeById(ServiceAttributeId)
.NET Components for Mobility
Returns the attribute with the given ID.
Declaration Syntax
C#Visual Basic
public ServiceAttribute GetAttributeById(
	ServiceAttributeId id
)
Public Function GetAttributeById ( _
	id As ServiceAttributeId _
) As ServiceAttribute
Parameters
id (ServiceAttributeId)

[Missing <param name="id"/> documentation for "M:InTheHand.Net.Bluetooth.ServiceRecord.GetAttributeById(InTheHand.Net.Bluetooth.ServiceAttributeId)"]

Return Value
A ServiceAttribute holding the attribute with the specified ID. Is never nullNothingnullptr.
Exceptions
ExceptionCondition
KeyNotFoundException There is no attribute with the given Id in the record. Throws ArgumentException in NETCFv1

Assembly: InTheHand.Net.Personal (Module: InTheHand.Net.Personal) Version: 3.0.0.0