指定用于获取或设置布尔值的全局唯一标识符 (GUID),该布尔值用于确定墨迹分析器是否将其对提示区域中的墨迹进行的分析限制为符合智能标记。
命名空间: Microsoft.Ink
程序集: Microsoft.Ink.Analysis(在 Microsoft.Ink.Analysis.dll 中)
语法
声明
Public Shared ReadOnly CoerceToFactoid As Guid
用法
Dim value As Guid
value = PropertyGuidsForAnalysisHints.CoerceToFactoid
public static readonly Guid CoerceToFactoid
public:
static initonly Guid CoerceToFactoid
public static final Guid CoerceToFactoid
public static final var CoerceToFactoid : Guid
备注
此字段表示墨迹分析器是否符合类型为 AnalysisHint 的 ContextNode 上的智能标记。
示例
下面的示例演示 CoerceToFactoid 字段。
' Determine whether hint area conforms to the factoid in the analysis hint
If myAnalysisHintNode.ContainsPropertyData( _
PropertyGuidsForAnalysisHints.CoerceToFactoid) Then
Dim myCoerceToFactoid As Boolean = _
CType(myAnalysisHintNode.GetPropertyData( _
PropertyGuidsForAnalysisHints.CoerceToFactoid), Boolean)
End If
// Determine whether hint area conforms to the factoid in the analysis hint
if (myAnalysisHintNode.ContainsPropertyData(
PropertyGuidsForAnalysisHints.CoerceToFactoid))
{
bool myCoerceToFactoid =
(bool)myAnalysisHintNode.GetPropertyData(
PropertyGuidsForAnalysisHints.CoerceToFactoid);
}
平台
Windows Vista
.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。
版本信息
.NET Framework
受以下版本支持:3.0
另请参见
参考
PropertyGuidsForAnalysisHints 类