Condividi tramite


Campo PropertyGuidsForContextNodesBase.ShapeName

Aggiornamento: novembre 2007

Specifica il GUID utilizzato per ottenere un oggetto String che rappresenta il nome della forma in un disegno dell'input penna.

Spazio dei nomi:  System.Windows.Ink.AnalysisCore
Assembly:  IACore (in IACore.dll)

Sintassi

'Dichiarazione
Public Shared ReadOnly ShapeName As Guid
'Utilizzo
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

Note

Questo campo rappresenta il nome della forma in un oggetto ContextNode di tipo InkDrawing.

Esempi

Nell'esempio seguente viene illustrato il campo ShapeName.

' 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);
}

Piattaforme

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework e .NET Compact Framework non supportano tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema di .NET Framework.

Informazioni sulla versione

.NET Framework

Supportato in: 3.0

Vedere anche

Riferimenti

PropertyGuidsForContextNodesBase Classe

Membri PropertyGuidsForContextNodesBase

Spazio dei nomi System.Windows.Ink.AnalysisCore