IsObject
如果 CDocBuilderValue 对象是一个对象,则返回 true。
请注意,在
.docbuilder文件中不使用CDocBuilderValue.IsObject方法。
语法
bool IsObject();
示例
.Net
string workDirectory = "C:/Program Files/ONLYOFFICE/documentBuilder";
CDocBuilder.Initialize(workDirectory);
CDocBuilder oBuilder = new CDocBuilder();
CContext oContext = oBuilder.GetContext();
CValue oGlobal = oContext.GetGlobal();
bool bObject = oGlobal.IsObject();
CDocBuilder.Destroy();