##  get(self, index) {#int}
通过 .Net 添加 API for Python，因为不支持 this[int index]


### 返回




```python

def get(self, index):
    ...
```


|范围|类型|描述|
| :- | :- | :- |
| index | int |元素的从零开始的索引。|


##  get(self, text) {#str}
通过 .Net 添加 API for Python，因为此[字符串文本]不受支持


### 返回




```python

def get(self, text):
    ...
```


|范围|类型|描述|
| :- | :- | :- |
| text | str |名称文本。|



### 也可以看看
* 模块[`aspose.cells`](../../)
* 类 [`NameCollection`](/cells/python-net/zh/aspose.cells/namecollection)
