InteractableInspector.SpeechKeywordLookup(String, String[]) Method

Definition

Caution

Use SpeechKeywordUtility for rendering a keyword dropdown.

Get the index of the speech keyword array item based on its name, pop-up field helper Skips the first item in the array (internal added blank value to turn feature off) and returns a 0 if no match is found for the blank value

protected:
 int SpeechKeywordLookup(System::String ^ option, cli::array <System::String ^> ^ options);
protected int SpeechKeywordLookup (string option, string[] options);
[System.Obsolete("Use SpeechKeywordUtility for rendering a keyword dropdown.")]
protected int SpeechKeywordLookup (string option, string[] options);
member this.SpeechKeywordLookup : string * string[] -> int
[<System.Obsolete("Use SpeechKeywordUtility for rendering a keyword dropdown.")>]
member this.SpeechKeywordLookup : string * string[] -> int
Protected Function SpeechKeywordLookup (option As String, options As String()) As Integer

Parameters

option
String
options
String[]

Returns

Int32
Attributes

Applies to