Foxit PDF Conversion SDK
foxit.common.WStringArray类 参考

继承自 SystemIDisposable .

Public 成员函数

 WStringArray ()
 构造函数。
 
 WStringArray (WStringArray other)
 构造函数,使用另一个数组对象。 更多...
 
void Add (string element)
 在当前数组的末尾添加一个元素。 更多...
 
string GetAt (uint index)
 获取当前数组中指定索引位置的元素的副本。 更多...
 
uint GetSize ()
 获取当前数组中元素的大小。 更多...
 
void InsertAt (uint index, string element)
 在指定索引位置之前插入一个元素。 更多...
 
void RemoveAll ()
 从当前数组中移除所有元素。 更多...
 
void RemoveAt (uint index)
 移除指定索引位置的元素。 更多...
 

详细描述

此类表示 WString 对象的数组。

构造及析构函数说明

◆ WStringArray()

foxit.common.WStringArray.WStringArray ( WStringArray  other)
inline

构造函数,使用另一个数组对象。

参数
[in]other另一个数组对象。

成员函数说明

◆ Add()

void foxit.common.WStringArray.Add ( string  element)
inline

在当前数组的末尾添加一个元素。

参数
[in]element要添加到当前数组的新元素。
返回
无。

◆ GetAt()

string foxit.common.WStringArray.GetAt ( uint  index)
inline

获取当前数组中指定索引位置的元素的副本。

参数
[in]index用于指定要获取哪个元素的索引。
返回
元素的副本。

◆ GetSize()

uint foxit.common.WStringArray.GetSize ( )
inline

获取当前数组中元素的大小。

返回
大小。

◆ InsertAt()

void foxit.common.WStringArray.InsertAt ( uint  index,
string  element 
)
inline

在指定索引位置之前插入一个元素。

参数
[in]index用于指定在哪里插入新元素的索引。有效范围:从 0 到 (size-1)。 size 是当前数组中元素的大小。
[in]element要插入到当前数组的新元素。
返回
无。

◆ RemoveAll()

void foxit.common.WStringArray.RemoveAll ( )
inline

从当前数组中移除所有元素。

返回
无。

◆ RemoveAt()

void foxit.common.WStringArray.RemoveAt ( uint  index)
inline

移除指定索引位置的元素。

参数
[in]index用于指定要移除哪个元素的索引。有效范围:从 0 到 (size-1)。 size 是当前数组中元素的大小。
返回
无。