StrokeCollection.RemovePropertyData(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the custom property associated with the specified Guid.
public:
void RemovePropertyData(Guid propertyDataId);
public void RemovePropertyData (Guid propertyDataId);
member this.RemovePropertyData : Guid -> unit
Public Sub RemovePropertyData (propertyDataId As Guid)
Parameters
Examples
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
.
if (inkCanvas1.Strokes.ContainsPropertyData(timestamp))
{
inkCanvas1.Strokes.RemovePropertyData(timestamp);
}
Private Sub RemovePropertyId()
If inkCanvas1.Strokes.ContainsPropertyData(timestamp) Then
inkCanvas1.Strokes.RemovePropertyData(timestamp)
End If
End Sub
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.