In The Hand
GetAttributeById Method (id, language)
NamespacesInTheHand.Net.BluetoothServiceRecordGetAttributeById(ServiceAttributeId, LanguageBaseItem)
.NET Components for Mobility
Returns the attribute with the given ID and natural language.
Declaration Syntax
C#Visual Basic
public ServiceAttribute GetAttributeById(
	ServiceAttributeId id,
	LanguageBaseItem language
)
Public Function GetAttributeById ( _
	id As ServiceAttributeId, _
	language As LanguageBaseItem _
) As ServiceAttribute
Parameters
id (ServiceAttributeId)
The id of the service attribute to locate, as a ServiceAttributeId.
language (LanguageBaseItem)
Which multi-language version of the string attribute to locate.
Return Value
A ServiceAttribute holding the attribute with the specified ID and language. Is never nullNothingnullptr.
Exceptions
ExceptionCondition
KeyNotFoundException There is no attribute with the given Id with the given language base in the record.

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