In The Hand
GetValueAsString Method (languageBase)
NamespacesInTheHand.Net.BluetoothServiceElementGetValueAsString(LanguageBaseItem)
.NET Components for Mobility
Get the value of the TextString, when it is encoded as specified by the given IETF Charset identifer.
Declaration Syntax
C#Visual Basic
public string GetValueAsString(
	LanguageBaseItem languageBase
)
Public Function GetValueAsString ( _
	languageBase As LanguageBaseItem _
) As String
Parameters
languageBase (LanguageBaseItem)

[Missing <param name="languageBase"/> documentation for "M:InTheHand.Net.Bluetooth.ServiceElement.GetValueAsString(InTheHand.Net.Bluetooth.LanguageBaseItem)"]

Return Value
A String holding the value of the TextString from the service element.
Remarks
Note that a strict decoding of the string is carried out (except on the NETCF where it is not supported). Thus if the value is not in the specified encoding, or has been encoded incorrectly, then an error will occur.
Exceptions
ExceptionCondition
InvalidOperationException The service element is not of type TextString.
DecoderFallbackException If the value in the service element is not a valid string in the given encoding.

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