Gets the language code for the specified literal column

Namespace: BrightstarDB.Client
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
public static string GetLiteralLanguageCode(
	this XElement row,
	int columnIndex
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function GetLiteralLanguageCode ( 
	row As XElement,
	columnIndex As Integer
) As String
Visual C++
public:
[ExtensionAttribute]
static String^ GetLiteralLanguageCode(
	XElement^ row, 
	int columnIndex
)
F#
static member GetLiteralLanguageCode : 
        row : XElement * 
        columnIndex : int -> string 

Parameters

row
Type: System.Xml.Linq..::..XElement
The XElement that represents a result row
columnIndex
Type: System..::..Int32
The zero-based index of the column value to return

Return Value

Type: String
The language code of the result or null if no language value is specified or the column does not exist

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type XElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also