To make the data useful to your script, you need to first cast the return value to a Boolean object, and then convert that object to a primitive Boolean.
为了使得数据有用,您需要首先把返回值转换为Boolean对象,然后将其转变为原始boolean值。
The result returns a Boolean object with value false if the computation is not complete; otherwise, it returns an instance of class object, which contains the result.
如果计算没有完成,结果返回一个值为false的Boolean对象;否则,将返回object类的一个实例,其中包含了计算结果。
Properties may be any .NET object, ranging from a simple boolean value to the representation of database metadata.
而属性可以是任何.NET对象,从一个简单的布尔值到复杂的数据库元数据。
应用推荐