public ProductionNode GetProductionNodeByName(string name)
{
IntPtr nodeHandle;
int status = SafeNativeMethods.xnGetRefNodeHandleByName(this.InternalObject, name, out nodeHandle);
WrapperUtils.ThrowOnError(status);
ProductionNode node = CreateProductionNodeObject(nodeHandle);
// release the handle
SafeNativeMethods.xnProductionNodeRelease(nodeHandle);
return node;
}