xn.Context.CreateAnyProductionTreeImpl C# (CSharp) Method

CreateAnyProductionTreeImpl() private method

private CreateAnyProductionTreeImpl ( NodeType type, Query query ) : IntPtr
type NodeType
query Query
return System.IntPtr
        internal IntPtr CreateAnyProductionTreeImpl(NodeType type, Query query)
        {
            IntPtr nodeHandle;
            using (EnumerationErrors errors = new EnumerationErrors())
            {
                UInt32 status = OpenNIImporter.xnCreateAnyProductionTree(this.InternalObject, type,
                    query == null ? IntPtr.Zero : query.InternalObject,
                    out nodeHandle, errors.InternalObject);
                WrapperUtils.CheckEnumeration(status, errors);
            }

            return nodeHandle;
        }

Usage Example

Exemplo n.º 1
0
 private static IntPtr Create(Context context, Query query)
 {
     return(context.CreateAnyProductionTreeImpl(NodeType.Device, query));
 }
All Usage Examples Of xn.Context::CreateAnyProductionTreeImpl