IPythonSet

Assembly: Python;

Description

The IPythonSet interface is used to work with Python language data type that is a set.

Inheritance Hierarchy

          IPythonObject

          IPythonSet

Comments

A Python set is a non-organized set of elements with a unique value. Elements can be added and removed. If an element already exists in the set, it is not added. The existing elements cannot be changed.

To create a Python set, use the PythonSet Fore class.

Properties

  Property name Brief description
Length The Length property returns the number elements with values in the set.

Properties inherited from IPythonObject

  Property name Brief description
Type The Type property returns object type.

Methods

  Method name Brief description
Add The Add method adds the specified value to the set.
Clear The Clear method deletes all elements of the set.
Pop The Pop method removes the first element from the set and returns its value.
Remove The Remove method removes the element with the specified value from the set.
ToArray The ToArray method transforms set contents into a Fore array.

See also:

Python Assembly Interfaces