サポートされる Unicode 文字範囲を表す UnicodeRange の配列を返します。
名前空間 : Microsoft.Ink
アセンブリ : Microsoft.Ink (Microsoft.Ink.dll 内)
構文
'宣言
Public Function GetUnicodeRanges As UnicodeRange()
'使用
Dim instance As Recognizer
Dim returnValue As UnicodeRange()
returnValue = instance.GetUnicodeRanges()
public UnicodeRange[] GetUnicodeRanges()
public:
array<UnicodeRange>^ GetUnicodeRanges()
public UnicodeRange[] GetUnicodeRanges()
public function GetUnicodeRanges() : UnicodeRange[]
戻り値
型 : array<Microsoft.Ink.UnicodeRange[]
サポートされる Unicode 文字範囲を表す UnicodeRange の配列。
解説
これは、Microsoft.Ink バージョン 6.0 アセンブリの新しいメソッドです。
例
この例では、メソッドは Recognizer オブジェクトを受け入れ、渡されたオブジェクトの GetUnicodeRanges メソッドを使用して、サポートされる文字の合計数を計算します。
Private Function SupportedUnicodeCharCount(ByVal pRecognizer As Recognizer) As Integer
Dim result As Integer = 0
Dim UCRA() As UnicodeRange = pRecognizer.GetUnicodeRanges()
For Each UCR As UnicodeRange In UCRA
result += UCR.Length
Next
Return result
End Function
private int SupportedUnicodeCharCount(Recognizer pRecognizer)
{
int result = 0;
UnicodeRange[] UCRA = pRecognizer.GetUnicodeRanges();
foreach (UnicodeRange UCR in UCRA)
{
result += UCR.Length;
}
return result;
}
プラットフォーム
Windows Vista
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0