C# 클래스 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.

파일 보기 프로젝트 열기: swi-to-yap/swicli 1 사용 예제들

공개 메소드들

메소드 설명
Add ( PlQueryVar var ) : void
this ( int idx ) : PlQueryVar
this ( string name ) : PlTerm

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

메소드 상세

Add() 공개 메소드

public Add ( PlQueryVar var ) : void
var PlQueryVar
리턴 void

this() 공개 메소드

public this ( int idx ) : PlQueryVar
idx int
리턴 PlQueryVar

this() 공개 메소드

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
리턴 PlTerm