Returns the value of the matching Sparql result column.

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

Syntax

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

Parameters

row
Type: System.Xml.Linq..::..XElement
The XElement that represents a result row
name
Type: System..::..String
Name of the column value to return

Return Value

Type: Object
The value of the column or null if no column exists.

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