PropertyGuidsForContextNodesBase.ShapeName - поле
Обновлен: Ноябрь 2007
Specifies the globally unique identifier (GUID) used to get a String that represents the shape name on an ink drawing.
Пространство имен: System.Windows.Ink.AnalysisCore
Сборка: IACore (в IACore.dll)
Синтаксис
'Декларация
Public Shared ReadOnly ShapeName As Guid
'Применение
Dim value As Guid
value = PropertyGuidsForContextNodesBase.ShapeName
public static readonly Guid ShapeName
public:
static initonly Guid ShapeName
public static final Guid ShapeName
public static final var ShapeName : Guid
Заметки
This field represents the name of the shape on a ContextNode of type InkDrawing.
Примеры
The following example demonstrates the ShapeName field.
' Get the name of the shape on an ink drawing
If myAnalysisHintNode.ContainsPropertyData( _
PropertyGuidsForContextNodes.ShapeName) Then
Dim myShapeName As String = _
CType(myAnalysisHintNode.GetPropertyData( _
PropertyGuidsForContextNodes.ShapeName), String)
End If
// Get the name of the shape on an ink drawing
if (myAnalysisHintNode.ContainsPropertyData(
PropertyGuidsForContextNodes.ShapeName))
{
string myShapeName =
(string)myAnalysisHintNode.GetPropertyData(
PropertyGuidsForContextNodes.ShapeName);
}
Платформы
Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0
См. также
Ссылки
PropertyGuidsForContextNodesBase Класс