GetListValue

Validation.GetListValue method

获取指定单元格的验证列表的值。

public object GetListValue(int row, int column)
范围类型描述
rowInt32行索引。
columnInt32列索引。

返回值

为指定单元格生成此验证列表的值。 如果列表引用范围,则返回值将是ReferredAreaobject; 否则返回值可能为 null、object[] 或简单对象。

评论

仅用于类型为 List 且已应用于给定单元格的验证, 否则将返回 null。

也可以看看