Compartir a través de


ContextNodeBase.RemovePropertyData Method

Removes a piece of application-specific data.

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
)
Not applicable.

Parameters

  • propertyDataId
    A Guid used to identify the type of data to remove.

Remarks

An ArgumentException may be thrown if you try to remove data with identifiers from the PropertyGuidsForAnalysisHintsBase or PropertyGuidsForContextNodesBase classes.

Example

This example removes a property with the identifier timeStampGuid on each ContextNodeBase that is an InkWord in an InkAnalyzerBase, theInkAnalyzerBase.

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

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

ContextNodeBase Class
ContextNodeBase Members
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