PropertyGuidsForContextNodes.ShapeName Field
Specifies the globally unique identifier (GUID) for getting String that represents the shape name on an ink drawing.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)
Syntax
'Declaration
Public Shared ReadOnly ShapeName As Guid
'Usage
Dim value As Guid
value = PropertyGuidsForContextNodes.ShapeName
public static readonly Guid ShapeName
public:
static initonly Guid ShapeName
public static final var ShapeName : Guid
Remarks
This field represents the name of the shape on a ContextNode of type InkDrawing.
Examples
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);
}
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
PropertyGuidsForContextNodes Class