Editar

Compartilhar via


INVocabulary.SetVocabulary Method

Definition

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.

type
INVocabularyStringType

The activity type for which to set the vocabulary.

Attributes

Applies to