ServiceRecordGetAttributeById(ServiceAttributeId, LanguageBaseItem) Method
Returns the attribute with the given ID and natural language.
Namespace: InTheHand.Net.Bluetooth.SdpAssembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
public ServiceAttribute GetAttributeById(
ServiceAttributeId id,
LanguageBaseItem language
)
Public Function GetAttributeById (
id As ServiceAttributeId,
language As LanguageBaseItem
) As ServiceAttribute
public:
ServiceAttribute^ GetAttributeById(
ServiceAttributeId id,
LanguageBaseItem^ language
)
member GetAttributeById :
id : ServiceAttributeId *
language : LanguageBaseItem -> ServiceAttribute
- 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.
ServiceAttributeA
ServiceAttribute holding
the attribute with the specified ID and language.
Is never
.
KeyNotFoundException |
There is no attribute with the given Id with the given language base in the record.
|