Gets the datatype for the specified Sparql result column.
Namespace: BrightstarDB.ClientAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
C# |
---|
public static string GetLiteralDatatype(
this XElement row,
string name
) |
Visual Basic |
---|
<ExtensionAttribute>
Public Shared Function GetLiteralDatatype (
row As XElement,
name As String
) As String |
Visual C++ |
---|
public:
[ExtensionAttribute]
static String^ GetLiteralDatatype(
XElement^ row,
String^ name
) |
F# |
---|
static member GetLiteralDatatype :
row : XElement *
name : string -> string
|
Parameters
- row
- Type: System.Xml.Linq..::..XElement
The XElement that represents a result row
- name
- Type: System..::..String
Name of the column to get the data type from
Return Value
Type:
StringThe literal datatype. Null if the column isn't present or the column is a URI
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