StrokeCollection.RemovePropertyData Method (Guid)
.NET Framework (current version)
Removes the custom property associated with the specified Guid.
PresentationCore (in PresentationCore.dll)
Public Sub RemovePropertyData (
propertyDataId As Guid
The Guid associated with the custom property to remove.
The following example demonstrates how to remove a custom property from the StrokeCollection. This example assumes that there is an InkCanvas called inkCanvas1 and a Guid called timestamp.
Private Sub RemovePropertyId()
If inkCanvas1.Strokes.ContainsPropertyData(timestamp) Then
Return to top
Available since 3.0