Share via


PropertyGuidsForAnalysisHints.Name Field

Specifies the globally unique identifier (GUID) for getting and setting the String that represents the name of an analysis hint.

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

Syntax

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

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

Remarks

This field represents the name on a ContextNode of type AnalysisHint.

Examples

The following example checks for an existing Name in the ContainsPropertyData method of an AnalysisHintNode. If the Name field exists, the returned property data of type String populates myName (Visual Basic) or myInkRecognizerGuideBaseByGuid (C#).

' Get the name of the analysis hint 
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForAnalysisHints.Name) Then 

    Dim myInkRecognizerGuideBaseByGuid As String = _
        CStr(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForAnalysisHints.Name))
End If
// Get the name of the analysis hint 
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForAnalysisHints.Name))
{
    string myInkRecognizerGuideBaseByGuid =
        (string)myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForAnalysisHints.Name);
}

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

PropertyGuidsForAnalysisHints Class

PropertyGuidsForAnalysisHints Members

System.Windows.Ink Namespace