Changes

Jump to navigation Jump to search
→‎Argument handling: update for build 23141 (added ArgUtility.TryGetEnum)
Line 7,076: Line 7,076:  
</syntaxhighlight>
 
</syntaxhighlight>
 
|-
 
|-
| <samp>TryGet</samp><br /><samp>TryGetBool</samp><br /><samp>TryGetFloat</samp><br /><samp>TryGetInt</samp><br /><samp>TryGetPoint</samp><br /><samp>TryGetRectangle</samp><br /><samp>TryGetVector2</samp>
+
| <samp>TryGet</samp><br /><samp>TryGetBool</samp><br /><samp>TryGetEnum</samp><br /><samp>TryGetFloat</samp><br /><samp>TryGetInt</samp><br /><samp>TryGetPoint</samp><br /><samp>TryGetRectangle</samp><br /><samp>TryGetVector2</samp>
 
| Try to get a parsed value from an array by its index. If it's not found or can't be converted to the expected value, it sets the <samp>out string error</samp> argument so you can log an error if needed.
 
| Try to get a parsed value from an array by its index. If it's not found or can't be converted to the expected value, it sets the <samp>out string error</samp> argument so you can log an error if needed.
  
translators
8,456

edits

Navigation menu