C# Class SbsSW.SwiPlCs.PlQueryVariables

Represents the set variables of a Query if it was created from a string.

This class is also used to represent the results of a PlQuery after PlQuery.ToList() or PlQuery.SolutionVariables was called.

Exibir arquivo Open project: swi-to-yap/swicli Class Usage Examples

Public Methods

Method Description
Add ( PlQueryVar var ) : void
this ( int idx ) : PlQueryVar
this ( string name ) : PlTerm

Gets the PlTerm of the given variable name or throw an ArgumentException.

Method Details

Add() public method

public Add ( PlQueryVar var ) : void
var PlQueryVar
return void

this() public method

public this ( int idx ) : PlQueryVar
idx int
return PlQueryVar

this() public method

Gets the PlTerm of the given variable name or throw an ArgumentException.
Is thrown if the name is not the name of a variable.
public this ( string name ) : PlTerm
name string The name of the variable
return PlTerm