Share via


PropertyGuidsForContextNodes.CustomRecognizerId Field

Specifies the globally unique identifier (GUID) for getting or setting the GUID that represents the custom ink recognizer on a custom recognizer.

Namespace: System.Windows.Ink
Assembly: IAWinFX (in iawinfx.dll)

Syntax

'Declaration
Public Shared ReadOnly CustomRecognizerId As Guid
'Usage
Dim value As Guid

value = PropertyGuidsForContextNodes.CustomRecognizerId
public static readonly Guid CustomRecognizerId
public:
static initonly Guid CustomRecognizerId
public static final Guid CustomRecognizerId
public static final var CustomRecognizerId : Guid
Not applicable.

Remarks

Represents the custom ink recognizer on a ContextNode of type CustomRecognizer.

Example

The following example checks for an existing CustomRecognizerId in the ContainsPropertyData method of an AnalysisHintNode. If the CustomRecognizerId field exists, the returned property data of type GUID populates myCustomRcognizer.

' Get GUID for custom recognizer
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForContextNodes.CustomRecognizerId) Then

    Dim myCustomRecognizer As Guid = _
        CType(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForContextNodes.CustomRecognizerId), Guid)
End If
// Get GUID for custom recognizer
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForContextNodes.CustomRecognizerId))
{
    Guid myCustomRecognizer =
        (Guid)myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForContextNodes.CustomRecognizerId);
}

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

PropertyGuidsForContextNodes Class
PropertyGuidsForContextNodes Members
System.Windows.Ink Namespace