Swi-cs-pl - A CSharp class library to connect .NET languages with SWI-Prolog
Item Property (index)
SwiPlCs interface ► SbsSW.SwiPlCs ► PlTermV ► Item[([( Int32])])
A zero based list
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public PlTerm this[ int index ] { get; set; }
Public Default Property Item ( index As Integer ) As PlTerm Get Set
public: property PlTerm default[int index] { PlTerm get (int index); void set (int index, PlTerm value); }
member Item : PlTerm with get, set
Parameters
- index (Int32)
Return Value
PlTerm
The PlTerm for the given index
The PlTerm for the given index
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Is thrown if (index < 0 || index >= Size) |
PreconditionException | Is thrown if the operator is used on an uninitialized PlTerm |
Assembly: SwiPlCs (Module: SwiPlCs.dll) Version: 1.1.60605.0 (1.1.60605.0)