次の方法で共有


PropertyGuidsForAnalysisHints.AllowPartialDictionaryTerms フィールド

分析のヒントで部分的な辞書用語を使用できるかどうかを決定するブール値を取得および設定するために、グローバル一意識別子 (GUID) を指定します。

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

構文

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

value = PropertyGuidsForAnalysisHints.AllowPartialDictionaryTerms
public static readonly Guid AllowPartialDictionaryTerms
public:
static initonly Guid AllowPartialDictionaryTerms
public static final Guid AllowPartialDictionaryTerms
public static final var AllowPartialDictionaryTerms : Guid

解説

この AllowPartialDictionaryTerms フィールドは、部分的な辞書用語が AnalysisHint 型の ContextNode で認識されるかどうかを表しています。部分的な辞書用語はエントリの先頭に一致します。たとえば、部分的な辞書用語 "abc" は、エントリ "abcdefg" に一致します。

次の例では、AnalysisHintNodeContainsPropertyData メソッドの既存の AllowPartialDictionaryTerms を確認します。AllowPartialDictionaryTerms フィールドが存在する場合、myAllowPartialDictionaryTerms を設定するブール値が返されます。

' Determine whether partial dictionary terms are allowed in analysis hint
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForAnalysisHints.AllowPartialDictionaryTerms) Then

    Dim myAllowPartialDictionaryTerms As Boolean = _
        CBool(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForAnalysisHints.AllowPartialDictionaryTerms))
End If
// Determine whether partial dictionary terms are allowed in analysis hint
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForAnalysisHints.AllowPartialDictionaryTerms))
{
    bool myAllowPartialDictionaryTerms =
        (bool)myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForAnalysisHints.AllowPartialDictionaryTerms);
}

プラットフォーム

Windows Vista

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

バージョン情報

.NET Framework

サポート対象 : 3.0

参照

参照

PropertyGuidsForAnalysisHints クラス

PropertyGuidsForAnalysisHints メンバ

System.Windows.Ink 名前空間