Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdSmEnumCustomPropertyValue.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace Teigha.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdSmEnumCustomPropertyValue(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdSmEnumCustomPropertyValue_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdSmEnumCustomPropertyValue obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 protected override void Dispose(bool disposing) {
31 lock(this) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
33 if (swigCMemOwn) {
34 swigCMemOwn = false;
36 }
37 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
38 }
39 base.Dispose(disposing);
40 }
41 }
42
43 public virtual bool next(ref string propname, OdSmCustomPropertyValue ppValue) {
44IntPtr tmp_propname = Marshal.StringToCoTaskMemUni(propname);
45 IntPtr saved_propname = tmp_propname;
46 try {
47 bool ret = TD_DbPINVOKE.OdSmEnumCustomPropertyValue_next(swigCPtr, ref tmp_propname, ppValue);
49 return ret;
50 } finally {
51if (tmp_propname != saved_propname) propname = Marshal.PtrToStringUni(tmp_propname);
52 }
53 }
54
55 public virtual void reset() {
58 }
59
60 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
61 string ret = TD_DbPINVOKE.OdSmEnumCustomPropertyValue_getRealClassName(ptr /*SIMPLETYPE*/);
63 return ret;
64 }
65
66}
67
68}
static HandleRef getCPtr(OdSmEnumCustomPropertyValue obj)
OdSmEnumCustomPropertyValue(IntPtr cPtr, bool cMemoryOwn)
virtual bool next(ref string propname, OdSmCustomPropertyValue ppValue)
static global::System.Exception Retrieve()
static void delete_OdSmEnumCustomPropertyValue(HandleRef jarg1)
static bool OdSmEnumCustomPropertyValue_next(HandleRef jarg1, ref IntPtr jarg2, OdSmCustomPropertyValue jarg3)
static void OdSmEnumCustomPropertyValue_reset(HandleRef jarg1)
static string OdSmEnumCustomPropertyValue_getRealClassName(IntPtr jarg1)