SrgsRulesCollection.Add(SrgsRule[]) メソッド

定義

SrgsRule オブジェクトの配列のコンテンツを SrgsRulesCollection オブジェクトに追加します。

public:
 void Add(... cli::array <System::Speech::Recognition::SrgsGrammar::SrgsRule ^> ^ rules);
public void Add (params System.Speech.Recognition.SrgsGrammar.SrgsRule[] rules);
override this.Add : System.Speech.Recognition.SrgsGrammar.SrgsRule[] -> unit
Public Sub Add (ParamArray rules As SrgsRule())

パラメーター

rules
SrgsRule[]

SrgsRulesCollection オブジェクトに追加する規則オブジェクトの配列。

例外

rulesnullです。

rules 配列のすべての SrgsRule オブジェクトは null です。

適用対象