Freigeben über


ContextNodeBase.RemovePropertyData-Methode

Entfernt anwendungsspezifische Daten.

Namespace:  System.Windows.Ink.AnalysisCore
Assembly:  IACore (in IACore.dll)

Syntax

'Declaration
Public Sub RemovePropertyData ( _
    propertyDataId As Guid _
)
'Usage
Dim instance As ContextNodeBase
Dim propertyDataId As Guid

instance.RemovePropertyData(propertyDataId)
public void RemovePropertyData(
    Guid propertyDataId
)
public:
void RemovePropertyData(
    Guid propertyDataId
)
public void RemovePropertyData(
    Guid propertyDataId
)
public function RemovePropertyData(
    propertyDataId : Guid
)

Parameter

  • propertyDataId
    Typ: System.Guid
    Eine Guid, die zum Identifizieren des zu entfernenden Datentyps verwendet wird.

Hinweise

Eine ArgumentException kann ausgelöst werden, wenn Sie versuchen, Daten mit Bezeichnern aus der PropertyGuidsForAnalysisHintsBase-Klasse oder der PropertyGuidsForContextNodesBase-Klasse zu entfernen.

Beispiele

In diesem Beispiel wird eine Eigenschaft mit dem Bezeichner timeStampGuid auf jedem ContextNodeBase entfernt, der ein InkWord in einem InkAnalyzerBase mit dem Namen theInkAnalyzerBase ist.

Dim inkWords As ContextNodeBaseCollection = _
    theInkAnalyzerBase.FindNodesOfType(System.Windows.Ink.AnalysisCore.ContextNodeTypeBase.InkWord)
Dim inkWord As ContextNodeBase
For Each inkWord In inkWords
    inkWord.RemovePropertyData(timeStampGuid)
Next inkWord
ContextNodeBaseCollection inkWords =
    theInkAnalyzerBase.FindNodesOfType(System.Windows.Ink.AnalysisCore.ContextNodeTypeBase.InkWord);
foreach (ContextNodeBase inkWord in inkWords)
{
    inkWord.RemovePropertyData(timeStampGuid);
}

Plattformen

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework und .NET Compact Framework unterstützen nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen für .NET Framework.

Versionsinformationen

.NET Framework

Unterstützt in: 3.0

Siehe auch

Referenz

ContextNodeBase-Klasse

ContextNodeBase-Member

System.Windows.Ink.AnalysisCore-Namespace

System.Windows.Ink.AnalysisCore.PropertyGuidsForAnalysisHintsBase

System.Windows.Ink.AnalysisCore.PropertyGuidsForContextNodesBase

ContextNodeBase.AddPropertyData

ContextNodeBase.ContainsPropertyData

ContextNodeBase.GetPropertyData

ContextNodeBase.SavePropertiesData

ContextNodeBase.LoadPropertiesData