Class KernelObject
Last update: 16.07.2025Namespace: VM.CAD.Kernel
Assembly: VM.CAD.Kernel.dll
public abstract class KernelObject
Inheritance
Derived
Canvas, Document, Entity, Kernel, KernelExtension, Layer, LayerManager, Session
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Constructors
KernelObject(UIntPtr, bool)
protected KernelObject(UIntPtr key, bool isLock = true)
Parameters
key UIntPtr
isLock bool
Fields
VMK_ARGUMENT_NULL
protected const int VMK_ARGUMENT_NULL = 1
Field Value
VMK_ARGUMENT_TYPE
protected const int VMK_ARGUMENT_TYPE = 2
Field Value
VMK_OK
protected const int VMK_OK = 0
Field Value
Properties
Key
public UIntPtr Key { get; }
Property Value
Methods
Dispose()
public void Dispose()
DisposeManagedResource()
protected virtual void DisposeManagedResource()
DisposeUnmanagedResource()
protected virtual void DisposeUnmanagedResource()
Execute(Func<int>)
protected static void Execute(Func<int> function)
Parameters
GetFrom<TResult>(delGetFrom<TResult>, bool)
protected static TResult GetFrom<TResult>(KernelObject.delGetFrom<TResult> getFrom, bool checkFunctionReturnValue = true)
Parameters
getFrom KernelObject.delGetFrom<TResult>
checkFunctionReturnValue bool
Returns
TResult
Type Parameters
TResult