Returns the string value of a SPARQL result column
Namespace: BrightstarDB.ClientAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
C# |
---|
public static Object GetColumnValue(
this XElement row,
int columnIndex
) |
Visual Basic |
---|
<ExtensionAttribute>
Public Shared Function GetColumnValue (
row As XElement,
columnIndex As Integer
) As Object |
Visual C++ |
---|
public:
[ExtensionAttribute]
static Object^ GetColumnValue(
XElement^ row,
int columnIndex
) |
F# |
---|
static member GetColumnValue :
row : XElement *
columnIndex : int -> Object
|
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:
ObjectThe 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