Export (0) Print
Expand All

StrokeCollection.RemovePropertyData Method

Removes the custom property associated with the specified Guid.

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

'Declaration
Public Sub RemovePropertyData ( _
	propertyDataId As Guid _
)

Parameters

propertyDataId
Type: System.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
        inkCanvas1.Strokes.RemovePropertyData(timestamp)
    End If 

End Sub

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft