INVocabulary.SetVocabulary Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers the specified app-specific vocabulary for the specified activity type.
[Foundation.Advice("This API is not allowed in extensions.")]
[Foundation.Export("setVocabulary:ofType:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetVocabulary (Foundation.NSOrderedSet<Intents.IINSpeakable> vocabulary, Intents.INVocabularyStringType type);
abstract member SetVocabulary : Foundation.NSOrderedSet<Intents.IINSpeakable> * Intents.INVocabularyStringType -> unit
override this.SetVocabulary : Foundation.NSOrderedSet<Intents.IINSpeakable> * Intents.INVocabularyStringType -> unit
Parameters
- vocabulary
- NSOrderedSet<IINSpeakable>
The vocabulary to set.
The activity type for which to set the vocabulary.
- Attributes