PropertyGuidsForAnalysisHints.CoerceToFactoid 欄位
指定用來取得或設定布林值的全域唯一識別項 (GUID),這個布林值會判斷筆墨分析器是否將其筆墨分析限制在提示的區域內以符合個人小檔案。
命名空間: System.Windows.Ink
組件: IAWinFX (在 IAWinFX.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 上的個人小檔案。
範例
下列範例會檢查 AnalysisHintNode 的 ContainsPropertyData 方法中是否有 CoerceToFactoid。如果有 CoerceToFactoid 欄位的話,則會傳回布林值以填入 myCoerceToFactoid。
' Determine whether hint area conforms to the factoid in the analysis hint
If myAnalysisHintNode.ContainsPropertyData( _
PropertyGuidsForAnalysisHints.CoerceToFactoid) Then
Dim myCoerceToFactoid As Boolean = _
CBool(myAnalysisHintNode.GetPropertyData( _
PropertyGuidsForAnalysisHints.CoerceToFactoid))
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 類別