Partager via


ContextNode.RemovePropertyData Method

Removes a piece of application-specific data.

Namespace: System.Windows.Ink
Assembly: IAWinFX (in iawinfx.dll)

Syntax

'Declaration
Public Sub RemovePropertyData ( _
    propertyDataId As Guid _
)
'Usage
Dim instance As ContextNode
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 PropertyGuidsForAnalysisHints or PropertyGuidsForContextNodes classes.

Example

This example removes a property with the identifier timeStampGuid on each InkWordNode in an InkAnalyzer, theInkAnalyzer.

Dim inkWords As ContextNodeCollection = theInkAnalyzer.FindNodesOfType(ContextNodeType.InkWord)
Dim inkWord As ContextNode
For Each inkWord In  inkWords
    inkWord.RemovePropertyData(timeStampGuid)
Next inkWord
ContextNodeCollection inkWords =
    theInkAnalyzer.FindNodesOfType(ContextNodeType.InkWord);
foreach (ContextNode 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

ContextNode Class
ContextNode Members
System.Windows.Ink Namespace
System.Windows.Ink.PropertyGuidsForAnalysisHints
System.Windows.Ink.PropertyGuidsForContextNodes
ContextNode.AddPropertyData
ContextNode.ContainsPropertyData
ContextNode.GetPropertyData
ContextNode.SavePropertiesData
ContextNode.LoadPropertiesData