Share via


SrgsItem.Add(SrgsElement) Método

Definição

Adiciona um objeto à coleção de objetos contidos nesta instância de SrgsItem.

public:
 void Add(System::Speech::Recognition::SrgsGrammar::SrgsElement ^ element);
public void Add (System.Speech.Recognition.SrgsGrammar.SrgsElement element);
member this.Add : System.Speech.Recognition.SrgsGrammar.SrgsElement -> unit
Public Sub Add (element As SrgsElement)

Parâmetros

element
SrgsElement

O objeto a adicionar.

Exceções

element é null.

Comentários

O Add método acrescenta um elemento à Elements propriedade .

Aplica-se a

Confira também