Share via


ContextNode.RemovePropertyData Method

Removes a piece of application-specific data.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.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 function RemovePropertyData(
    propertyDataId : Guid
)

Parameters

  • propertyDataId
    Type: System.Guid

    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.

Examples

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

Dim inkWords As ContextNodeCollection = _
    theInkAnalyzer.FindNodesOfType(Microsoft.Ink.ContextNodeType.InkWord)
Dim inkWord As ContextNode
For Each inkWord In inkWords
    inkWord.RemovePropertyData(timeStampGuid)
Next inkWord
            ContextNodeCollection inkWords =
                theInkAnalyzer.FindNodesOfType(Microsoft.Ink.ContextNodeType.InkWord);
            foreach (ContextNode inkWord in inkWords)
            {
                inkWord.RemovePropertyData(timeStampGuid);
            }

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

ContextNode Class

ContextNode Members

Microsoft.Ink Namespace

Microsoft.Ink.PropertyGuidsForAnalysisHints

Microsoft.Ink.PropertyGuidsForContextNodes

ContextNode.AddPropertyData

ContextNode.ContainsPropertyData

ContextNode.GetPropertyData

ContextNode.SavePropertiesData

ContextNode.LoadPropertiesData