Retrieve the primitive value of this data object as a string.

Namespace: CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)

Public Function GetStringValue( _ 
ByVal aEncoding As Encoding
) As String
This language is not supported or no code example is available.
public string GetStringValue( 
Encoding aEncoding 
)
This language is not supported or no code example is available.
public:  
String^ GetStringValue( 
Encoding^ aEncoding 
)
This language is not supported or no code example is available.
public function GetStringValue( 
aEncoding : Encoding 
) : String;
This language is not supported or no code example is available.

Parameters

aEncoding
Type: Encoding

The text encoding that shall be used in order to convert the binary data into a string representation. This must not be null.

Return Value

Type: string

If the Value is null, then null is returned. Otherwise the value is converted to a string representation and the resulting string is returned.

Exception type Condition

ArgumentNullException

Thrown when one or more required arguments are null.

Marc, 9/29/2022.

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

.NET Standard

Supported in: 2.0