指定した Strokes のロケール識別子を変更します。
名前空間 : Microsoft.Ink
アセンブリ : Microsoft.Ink.Analysis (Microsoft.Ink.Analysis.dll 内)
構文
'宣言
Public Sub SetStrokesLanguageId ( _
strokes As Strokes, _
languageId As Integer _
)
'使用
Dim instance As InkAnalyzer
Dim strokes As Strokes
Dim languageId As Integer
instance.SetStrokesLanguageId(strokes, _
languageId)
public void SetStrokesLanguageId(
Strokes strokes,
int languageId
)
public:
void SetStrokesLanguageId(
Strokes^ strokes,
int languageId
)
public void SetStrokesLanguageId(
Strokes strokes,
int languageId
)
public function SetStrokesLanguageId(
strokes : Strokes,
languageId : int
)
パラメータ
- strokes
型 : Microsoft.Ink.Strokes
ロケール識別子を割り当てるストローク。
- languageId
型 : System.Int32
strokes のストロークに割り当てる言語識別子。
解説
ストロークのロケールは、AddStroke または AddStrokes を呼び出すことにより、ストロークを追加したときに設定されます。現在ストロークに割り当てられているロケールを取得するには、GetStrokeLanguageId を呼び出します。
例
この例では、InkAnalyzer、theInkAnalyzer に関連付けられた ContextNode、theContextNode のすべてのストロークにロケール識別子 theLcid を割り当てます。
' Update the locale of all strokes associated with the context node.
theInkAnalyzer.SetStrokesLanguageId(theContextNode.Strokes, theLcid)
// Update the locale of all strokes associated with the context node.
theInkAnalyzer.SetStrokesLanguageId(theContextNode.Strokes, theLcid);
プラットフォーム
Windows Vista
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0