Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
PropertyInfo.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.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
16public class PropertyInfo : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public PropertyInfo(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(PropertyInfo obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public PropertyInfo() : this(GlobalsPINVOKE.new_PropertyInfo(), true) {
53 }
54
55 public String name {
56 set { // OdString csvarin
59 }
60
61 get { // OdString csvarout
62 string ret = GlobalsPINVOKE.PropertyInfo_name_get(swigCPtr);
64 return ret;
65 }
66
67 }
68
70 set { // OdString csvarin
73 }
74
75 get { // OdString csvarout
78 return ret;
79 }
80
81 }
82
84 set { // OdString csvarin
87 }
88
89 get { // OdString csvarout
90 string ret = GlobalsPINVOKE.PropertyInfo_uiPlacement_get(swigCPtr);
92 return ret;
93 }
94
95 }
96
97 public float weight {
98 set {
101 }
102 get {
103 float ret = GlobalsPINVOKE.PropertyInfo_weight_get(swigCPtr);
105 return ret;
106 }
107 }
108
110 set {
113 }
114 get {
115 global::System.IntPtr cPtr = GlobalsPINVOKE.PropertyInfo_value_get(swigCPtr);
116 OdRxPropertyVariant ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdRxPropertyVariant(cPtr, false);
118 return ret;
119 }
120 }
121
123 set {
126 }
127 get {
128 global::System.IntPtr cPtr = GlobalsPINVOKE.PropertyInfo_subProperties_get(swigCPtr);
129 PropertyInfoArray ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyInfoArray(cPtr, false);
131 return ret;
132 }
133 }
134
135}
136
137}
static global::System.Exception Retrieve()
static void PropertyInfo_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void PropertyInfo_value_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static String PropertyInfo_localizedName_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PropertyInfo_uiPlacement_set(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void PropertyInfo_subProperties_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static float PropertyInfo_weight_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static String PropertyInfo_uiPlacement_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr PropertyInfo_value_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static String PropertyInfo_name_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PropertyInfo_localizedName_set(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static global::System.IntPtr PropertyInfo_subProperties_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PropertyInfo_weight_set(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2)
static void delete_PropertyInfo(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdRxPropertyVariant obj)
static HandleRef getCPtr(PropertyInfoArray obj)
PropertyInfo(IntPtr cPtr, bool cMemoryOwn)
Definition: PropertyInfo.cs:21
PropertyInfoArray subProperties
OdRxPropertyVariant value
static HandleRef getCPtr(PropertyInfo obj)
Definition: PropertyInfo.cs:26
virtual void Dispose(bool disposing)
Definition: PropertyInfo.cs:39