共用方式為


PropertyGuidsForContextNodes.RecognitionLattice 欄位

指定用來取得 Lattice 的全域唯一識別項 (GUID),這個 Lattice 表示已辨識的物件。

命名空間:  Microsoft.Ink
組件:  Microsoft.Ink.Analysis (在 Microsoft.Ink.Analysis.dll 中)

語法

'宣告
Public Shared ReadOnly RecognitionLattice As Guid
'用途
Dim value As Guid

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

備註

這個欄位表示 InkBulletInkWordLineParagraphRootWritingRegion 型別之 ContextNode 上的已辨識物件。

範例

下列範例示範 RecognitionLattice 欄位。

' Get the lattice that represents the recognized object
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForContextNodes.RecognitionLattice) Then
    Dim myRecognitionLattice As System.Windows.Ink.AnalysisCore.Lattice = _
        CType(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForContextNodes.RecognitionLattice), _
        System.Windows.Ink.AnalysisCore.Lattice)
End If
// Get the lattice that represents the recognized object
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForContextNodes.RecognitionLattice))
{
    System.Windows.Ink.AnalysisCore.Lattice myRecognitionLattice =
        (System.Windows.Ink.AnalysisCore.Lattice)myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForContextNodes.RecognitionLattice);
}

平台

Windows Vista

.NET Framework 和 .NET Compact Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱 .NET Framework 系統需求

版本資訊

.NET Framework

支援版本:3.0

請參閱

參考

PropertyGuidsForContextNodes 類別

PropertyGuidsForContextNodes 成員

Microsoft.Ink 命名空間