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,
	string name
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function GetLiteralLanguageCode ( 
	row As XElement,
	name As String
) As String
Visual C++
public:
[ExtensionAttribute]
static String^ GetLiteralLanguageCode(
	XElement^ row, 
	String^ name
)
F#
static member GetLiteralLanguageCode : 
        row : XElement * 
        name : string -> string 

Parameters

row
Type: System.Xml.Linq..::..XElement
The XElement that represents the sparql resul row
name
Type: System..::..String
The name of the sparql result parameter

Return Value

Type: String
Language code or null if the named column doesnt exist, or there is no langusge code attribute

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