| TriggerBlockIndexOfTrigger Method |
[This is preliminary documentation and is subject to change.]
Operates like IndexOf for Triggers
Namespace:
Monkeyspeak
Assembly:
Monkeyspeak (in Monkeyspeak.dll) Version: 7.0.10.28723 (7.0.10.28723)
Syntax public int IndexOfTrigger(
TriggerCategory cat,
int id = -1,
int startIndex = 0
)
Public Function IndexOfTrigger (
cat As TriggerCategory,
Optional id As Integer = -1,
Optional startIndex As Integer = 0
) As Integer
public:
int IndexOfTrigger(
TriggerCategory cat,
int id = -1,
int startIndex = 0
)
member IndexOfTrigger :
cat : TriggerCategory *
?id : int *
?startIndex : int
(* Defaults:
let _id = defaultArg id -1
let _startIndex = defaultArg startIndex 0
*)
-> int
Parameters
- cat
- Type: MonkeyspeakTriggerCategory
[Missing <param name="cat"/> documentation for "M:Monkeyspeak.TriggerBlock.IndexOfTrigger(Monkeyspeak.TriggerCategory,System.Int32,System.Int32)"]
- id (Optional)
- Type: SystemInt32
[Missing <param name="id"/> documentation for "M:Monkeyspeak.TriggerBlock.IndexOfTrigger(Monkeyspeak.TriggerCategory,System.Int32,System.Int32)"]
- startIndex (Optional)
- Type: SystemInt32
[Missing <param name="startIndex"/> documentation for "M:Monkeyspeak.TriggerBlock.IndexOfTrigger(Monkeyspeak.TriggerCategory,System.Int32,System.Int32)"]
Return Value
Type:
Int32Index of trigger or -1 if not found
See Also