ContextNodeBase.IsStringSupported 方法 (String)
指示指定的已识别字符串是来自系统字典、用户字典还是单词列表。任何对应 AnalysisHintNode 中的任何限制数据(例如单词列表、参考线或智能标记)均用于确定该字符串是否受到支持。
命名空间: System.Windows.Ink.AnalysisCore
程序集: IACore(在 IACore.dll 中)
语法
声明
Public Function IsStringSupported ( _
text As String _
) As Boolean
用法
Dim instance As ContextNodeBase
Dim text As String
Dim returnValue As Boolean
returnValue = instance.IsStringSupported(text)
public bool IsStringSupported(
string text
)
public:
bool IsStringSupported(
String^ text
)
public boolean IsStringSupported(
String text
)
public function IsStringSupported(
text : String
) : boolean
参数
- text
类型:System.String
指定的已识别字符串。
返回值
类型:System.Boolean
如果应用了任何对应 AnalysisHintNode 节点的 InkRecognizerBase 支持指定字符串,则为 true;如果不支持该字符串,则为 false。
备注
如果 ContextNodeBase 的类型不是 InkWord,则此方法将引发 InvalidOperationException。
如果节点没有与之关联的识别文本,则此方法将返回 true。
平台
Windows Vista, Windows XP SP2, Windows Server 2003
.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。
版本信息
.NET Framework
受以下版本支持:3.0