ServiceRecordGetAttributeByIndex Method

Gets the attribute at the specified index.

Definition

Namespace: InTheHand.Net.Bluetooth.Sdp
Assembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
public ServiceAttribute GetAttributeByIndex(
	int index
)

Parameters

index  Int32
The zero-based index of the attribute to get.

Return Value

ServiceAttribute
A ServiceAttribute holding the attribute at the specified index. Is never .

Exceptions

ArgumentOutOfRangeException

index is less than 0.

-or-

index is equal to or greater than Count.

See Also