Share via


SrgsItem.Add Method

Adds the item to the list of items belonging to this SrgsItem instance.

Namespace: Microsoft.Speech.Recognition.SrgsGrammar
Assembly: Microsoft.Speech (in microsoft.speech.dll)

Syntax

'Declaration

Parameters

  • element
    The item to add to the list of items that belong to the SrgsItem instance.

Exceptions

Exception type Condition
ArgumentNullException

element is null.

Remarks

The Add method appends element to the Elements property.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

SrgsItem Class
SrgsItem Members
Microsoft.Speech.Recognition.SrgsGrammar Namespace