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 function RemovePropertyData(
propertyDataId : Guid
)
Parameters
propertyDataId
Type: System.GuidA 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(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 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.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
System.Windows.Ink.PropertyGuidsForAnalysisHints
System.Windows.Ink.PropertyGuidsForContextNodes
ContextNode.ContainsPropertyData