WithLanguage Method

WithLanguage(String)

Add an ISO/IANA language code to the NDEF text configuration. Defaults to "en-US".

C#
public ConfigureNdef WithLanguage(string languageCode)

Parameters

Type Name Description
System.String languageCode

The Language Code Identifier (LCID) of the text.

Returns

ConfigureNdef

The current ConfigureNdef instance.

Remarks

If you are using this in a builder pattern where you might call this method with a conditional statement, the negative condition should pass either null or an empty string. If you pass null or an empty string, and you called AsText(String), then the default en-US will be applied.

Generated by DocFX