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