ToInt

DocumentProperty.ToInt method

以整数形式返回属性值。

public int ToInt()

评论

如果属性类型不是 PropertyType.Number. ,则引发异常

也可以看看