次の方法で共有


PropertyGuidsForContextNodes.RecognizedString フィールド

認識された文字列を表す String を取得するためのグローバル一意識別子 (GUID) を指定します。

名前空間 :  System.Windows.Ink
アセンブリ :  IAWinFX (IAWinFX.dll 内)

構文

'宣言
Public Shared ReadOnly RecognizedString As Guid
'使用
Dim value As Guid

value = PropertyGuidsForContextNodes.RecognizedString
public static readonly Guid RecognizedString
public:
static initonly Guid RecognizedString
public static final Guid RecognizedString
public static final var RecognizedString : Guid

解説

RecognizedString フィールドは、型が InkBulletInkWordLineParagraphRoot、または WritingRegionContextNode で、認識された文字列を表します。

次の例では、AnalysisHintNodeContainsPropertyData メソッドで既存の RecognizedString を確認します。RecognizedString フィールドが存在する場合、返される String 型のプロパティ データにより myRecognizedString が設定されます。

' Get the recognized string
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForContextNodes.RecognizedString) Then

    Dim myRecognizedString As String = _
        CStr(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForContextNodes.RecognizedString))
End If
// Get the recognized string
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForContextNodes.RecognizedString))
{
    string myRecognizedString =
        (string)myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForContextNodes.RecognizedString);
}

プラットフォーム

Windows Vista

.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 3.0

参照

参照

PropertyGuidsForContextNodes クラス

PropertyGuidsForContextNodes メンバ

System.Windows.Ink 名前空間