ServiceRecordGetPrimaryLanguageBaseItem Method

Gets the primary LanguageBaseAttributeId item in the service record.

Definition

Namespace: InTheHand.Net.Bluetooth.Sdp
Assembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
public LanguageBaseItem GetPrimaryLanguageBaseItem()

Return Value

LanguageBaseItem
A LanguageBaseItem, or null if the service record contains no such attribute, or no primary language item (one with Base Id 0x0100) is included.

Remarks

For instance, can be used with methods GetMultiLanguageStringAttributeById(ServiceAttributeId, LanguageBaseItem), and GetAttributeById(ServiceAttributeId, LanguageBaseItem) etc. See example code in the first.

See Also