Export (0) Print
Expand All

ContextNode.RemovePropertyData Method

Removes a piece of application-specific data.

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

public void RemovePropertyData(
	Guid propertyDataId
)

Parameters

propertyDataId
Type: System.Guid

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

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

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

ContextNodeCollection inkWords =
    theInkAnalyzer.FindNodesOfType(ContextNodeType.InkWord);
foreach (ContextNode inkWord in inkWords)
{
    inkWord.RemovePropertyData(timeStampGuid);
}

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft