Stroke.Deleted - свойство
Обновлен: Ноябрь 2007
Gets a value that indicates whether the Stroke object has been deleted from its parent Ink object.
Пространство имен: Microsoft.Ink
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Public ReadOnly Property Deleted As Boolean
'Применение
Dim instance As Stroke
Dim value As Boolean
value = instance.Deleted
public bool Deleted { get; }
public:
property bool Deleted {
bool get ();
}
/** @property */
public boolean get_Deleted()
public function get Deleted () : boolean
Значение свойства
Тип: System.Boolean
Whether the Stroke object has been deleted from its parent Ink object.
Value |
Meaning |
---|---|
true |
The stroke has been deleted from its parent Ink object. |
false |
The stroke still exists within its parent Ink object. |
Заметки
A reference to a Stroke object may exist after the Stroke object is deleted from its parent Ink object. Use the Deleted property to determine whether a Stroke object has been deleted.
Примеры
This C# example displays a message indicating whether the Stroke object, theStroke, has been deleted.
if (theStroke.Deleted)
{
MessageBox.Show("Stroke " + theStroke.Id + " is deleted.");
}
else
{
MessageBox.Show("Stroke " + theStroke.Id + " exists.");
}
This Microsoft Visual Basic .NET example displays a message indicating whether the Stroke object, theStroke, has been deleted.
If (theStroke.Deleted) Then
MessageBox.Show("Stroke " & theStroke.Id & " is deleted.")
Else
MessageBox.Show("Stroke " & theStroke.Id & " exists.")
End If
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0