engiGetEnumerationValue
Syntax
public const string ifcenginedll = @"ifcengine.dll"; [DllImport(IFCEngineDLL, EntryPoint = "engiGetEnumerationValue")] public static extern IntPtr engiGetEnumerationValue(int_t attribute, int_t index, int_t valueType, out IntPtr enumerationValue); public static string engiGetEnumerationValue(int_t attribute, int_t index) { IntPtr enumerationValue = IntPtr.Zero; engiGetEnumerationValue(attribute, index, sdaiSTRING, out enumerationValue); return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(enumerationValue); }