Метод | Описание | |
---|---|---|
AsTuple ( |
AsTuple Method Convert a Python object to a Python tuple if possible, raising a PythonException if the conversion is not possible. This is equivalent to the Python expression "tuple(object)". |
|
IsTupleType ( |
IsTupleType Method Returns true if the given object is a Python tuple. |
|
PyTuple ( ) : System |
PyTuple Constructor Creates a new empty PyTuple. |
|
PyTuple ( |
PyTuple Constructor Creates a new PyTuple from an existing object reference. Note that the instance assumes ownership of the object reference. The object reference is not checked for type-correctness. |
|
PyTuple ( |
PyTuple Constructor Copy constructor - obtain a PyTuple from a generic PyObject. An ArgumentException will be thrown if the given object is not a Python tuple object. |
public static AsTuple ( |
||
value | ||
Результат |
public static IsTupleType ( |
||
value | ||
Результат | bool |