/// <summary>
/// Returns the node content as an integer. If the node stores floating-point number, it is rounded.
/// </summary>
/// <returns></returns>
public int ToInt32()
{
ThrowIfDisposed();
NativeMethods.HandleException(
NativeMethods.core_FileNode_toInt(ptr, out var ret));
GC.KeepAlive(this);
return(ret);
}