Sdílet prostřednictvím


PropertyGuidsForAnalysisHints.Factoid Field

Specifies the globally unique identifier (GUID) for getting or setting the String that represents the Factoid on an analysis hint.

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

Syntax

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

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

Remarks

This field represents the Factoid class on a ContextNode of type AnalysisHint.

Examples

The following example checks for an existing Factoid in the ContainsPropertyData method of an AnalysisHintNode. If the Factoid field exists, the returned property data of type String populates myFactoid.

' Get factoid for analysis hint 
If myAnalysisHintNode.ContainsPropertyData( _
    PropertyGuidsForAnalysisHints.Factoid) Then 

    Dim myFactoid As String = _
        CStr(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForAnalysisHints.Factoid))
End If
// Get factoid for analysis hint 
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForAnalysisHints.Factoid))
{
    string myFactoid =
        (string)myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForAnalysisHints.Factoid);
}

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