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 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 PropertyGuidsForAnalysisHintsBase or PropertyGuidsForContextNodesBase classes.
Examples
This example removes a property with the identifier timeStampGuid on each ContextNodeBase that is an InkWord in an InkAnalyzerBase named 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 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.AnalysisCore Namespace
System.Windows.Ink.AnalysisCore.PropertyGuidsForAnalysisHintsBase
System.Windows.Ink.AnalysisCore.PropertyGuidsForContextNodesBase
ContextNodeBase.AddPropertyData
ContextNodeBase.ContainsPropertyData
ContextNodeBase.GetPropertyData