LanguageBaseItemParseListFromElementSequence Method

Gets the list of LanguageBaseItem items in the service record.

Definition

Namespace: InTheHand.Net.Bluetooth.AttributeIds
Assembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
public static LanguageBaseItem[] ParseListFromElementSequence(
	ServiceElement elementSequence
)

Parameters

elementSequence  ServiceElement
A ServiceElement holding the data from the LanguageBaseAttributeIdList attribute.

Return Value

LanguageBaseItem
An array of LanguageBaseItem. An array length zero is returned if the service record contains no such attribute.

Exceptions

ArgumentExceptionelementSequence is not of type ElementSequence.
ProtocolViolationException The element sequence contains incorrectly formatted or invalid content, for example it contains the wrong element data types, or doesn't contain the elements in groups of three as required.

See Also