Class XlsObject
- Namespace
- Spire.Xls.Core.Spreadsheet
- Assembly
- Spire.XLS.dll
public class XlsObject : IExcelApplication, IDisposable
- Inheritance
-
XlsObject
- Implements
- Derived
- Inherited Members
Fields
m_bIsDisposed
protected bool m_bIsDisposed
Field Value
Properties
Parent
Reference to Parent object. Read-only.
public object Parent { get; }
Property Value
ReferenceCount
protected int ReferenceCount { get; }
Property Value
Methods
AddReference()
protected virtual int AddReference()
Returns
CheckDisposed()
protected void CheckDisposed()
Dispose()
Dispose object and free resources.
public virtual void Dispose()
~XlsObject()
protected ~XlsObject()
FindParent(object, Type)
protected static object FindParent(object parentStart, Type parentType)
Parameters
Returns
FindParent(object, Type, bool)
protected static object FindParent(object parentStart, Type parentType, bool bSubTypes)
Parameters
Returns
FindParent(Type)
protected object FindParent(Type parentType)
Parameters
parentType
Type
Returns
FindParent(Type, bool)
protected object FindParent(Type parentType, bool bSubTypes)
Parameters
Returns
FindParent(Type[])
protected object FindParent(Type[] arrTypes)
Parameters
arrTypes
Type[]
Returns
FindParents(Type[])
protected object[] FindParents(Type[] arrTypes)
Parameters
arrTypes
Type[]
Returns
- object[]
OnDispose()
Method which can be overriden by users to take any specific actions when object is disposed.
protected virtual void OnDispose()
ReleaseReference()
protected virtual int ReleaseReference()
Returns
SetParent(object)
protected void SetParent(object parent)
Parameters
parent
object