PropertyGuidsForContextNodes.RecognizedString - поле
Обновлен: Ноябрь 2007
Specifies the globally unique identifier (GUID) for getting the String that represents the recognized string.
Пространство имен: System.Windows.Ink
Сборка: IAWinFX (в IAWinFX.dll)
Синтаксис
'Декларация
Public Shared ReadOnly RecognizedString As Guid
'Применение
Dim value As Guid
value = PropertyGuidsForContextNodes.RecognizedString
public static readonly Guid RecognizedString
public:
static initonly Guid RecognizedString
public static final Guid RecognizedString
public static final var RecognizedString : Guid
Заметки
The RecognizedString field represents the recognized string on a ContextNode of type InkBullet, InkWord, Line, Paragraph, Root, or WritingRegion.
Примеры
The following example checks for an existing RecognizedString in the ContainsPropertyData method of an AnalysisHintNode. If the RecognizedString field exists, the returned property data of type String populates myRecognizedString.
' Get the recognized string
If myAnalysisHintNode.ContainsPropertyData( _
PropertyGuidsForContextNodes.RecognizedString) Then
Dim myRecognizedString As String = _
CStr(myAnalysisHintNode.GetPropertyData( _
PropertyGuidsForContextNodes.RecognizedString))
End If
// Get the recognized string
if (myAnalysisHintNode.ContainsPropertyData(
PropertyGuidsForContextNodes.RecognizedString))
{
string myRecognizedString =
(string)myAnalysisHintNode.GetPropertyData(
PropertyGuidsForContextNodes.RecognizedString);
}
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0
См. также
Ссылки
PropertyGuidsForContextNodes Класс