/// <summary> /// This function retrieves the name of the point object from which a point element was created. /// It also retrieves the type of point object that it is. /// </summary> /// <param name="name">The name of an existing point element.</param> /// <param name="nameObject">The name of the point object from which the point element was created.</param> /// <param name="objectType">Type of object or defined item that is associated with the point element.</param> /// <exception cref="CSiException"></exception> public void GetObject(string name, ref string nameObject, ref ePointTypeObject objectType) { int csiObjectType = 0; _callCode = _sapModel.PointElm.GetObj(name, ref nameObject, ref csiObjectType); if (throwCurrentApiException(_callCode)) { throw new CSiException(); } objectType = (ePointTypeObject)csiObjectType; }
/// <summary> /// This function retrieves the name of the point object from which a point element was created. /// It also retrieves the type of point object that it is. /// </summary> /// <param name="name">The name of an existing point element.</param> /// <param name="nameObject">The name of the point object from which the point element was created.</param> /// <param name="objectType">Type of object or defined item that is associated with the point element.</param> /// <exception cref="CSiException">API_DEFAULT_ERROR_CODE</exception> public void GetObject(string name, out string nameObject, out ePointTypeObject objectType) { nameObject = string.Empty; int csiObjectType = 0; _callCode = _sapModel.PointElm.GetObj(name, ref nameObject, ref csiObjectType); if (throwCurrentApiException(_callCode)) { throw new CSiException(API_DEFAULT_ERROR_CODE); } objectType = (ePointTypeObject)csiObjectType; }
public void GetObject(string name, ref string nameObject, ref ePointTypeObject objectType) { }