Beispiel #1
0
 /// <summary>Removes an image from the list by index.</summary>
 /// <description>
 /// 
 /// </description>
 /// <param name="index">Image index to remove.</param>
 /// <code>
 /// // Define the image index.
 /// %imageIndex = "4";
 /// 
 /// // Inform the GuiImageList control to remove the image at the defined index.
 /// %wasSuccessful = %thisGuiImageList.remove(%imageIndex);
 /// </code>
 /// <returns>True if the operation was successful, false if it was not.</returns>
 /// <see cref="SimObject" />
 public bool Remove(int index) {
      InternalUnsafeMethods.Remove__Args _args = new InternalUnsafeMethods.Remove__Args() {
         index = index,
      };
      bool _engineResult = InternalUnsafeMethods.Remove()(ObjectPtr, _args);
      return _engineResult;
 }
Beispiel #2
0
 /// <description>
 /// settingObj.remove(settingName, includeDefaults = false);
 /// </description>
 public void Remove(string settingName, bool includeDefaults = false)
 {
     InternalUnsafeMethods.Remove__Args _args = new InternalUnsafeMethods.Remove__Args()
     {
         settingName     = settingName,
         includeDefaults = includeDefaults,
     };
     InternalUnsafeMethods.Remove()(ObjectPtr, _args);
 }
Beispiel #3
0
 /// <description>
 /// ( SimObject listener, String event )
 ///
 /// Remove a listener from an event.
 /// </description>
 /// <param name="listener">The listener to remove.</param>
 /// <param name="event">The event to be removed from.</param>
 public void Remove(string listenerName, string evt)
 {
     InternalUnsafeMethods.Remove__Args _args = new InternalUnsafeMethods.Remove__Args()
     {
         listenerName = listenerName,
         evt          = evt,
     };
     InternalUnsafeMethods.Remove()(ObjectPtr, _args);
 }