Поделиться через


AnalysisRegionBase.IsEmpty - свойство

Обновлен: Ноябрь 2007

Gets a value indicating whether the AnalysisRegionBase represents an empty region.

Пространство имен:  System.Windows.Ink.AnalysisCore
Сборка:  IACore (в IACore.dll)

Синтаксис

'Декларация
Public ReadOnly Property IsEmpty As Boolean
'Применение
Dim instance As AnalysisRegionBase
Dim value As Boolean

value = instance.IsEmpty
public bool IsEmpty { get; }
public:
property bool IsEmpty {
    bool get ();
}
/** @property */
public boolean get_IsEmpty()
public function get IsEmpty () : boolean

Значение свойства

Тип: System.Boolean
true if the represented region is empty; otherwise, false.

Примеры

The following example tests the extent of the area represented by the AnalysisRegionBase, theFirstAnalysisRegionBase.

' Check whether the AnalysisRegionBase is empty, infinite, or neither.
If theFirstAnalysisRegionBase.IsEmpty Then
    ' Insert code here for an empty AnalysisRegionBase.
ElseIf theFirstAnalysisRegionBase.IsInfinite Then
    ' Insert code here for an infinite AnalysisRegionBase.
Else
    ' Insert code here for a non-empty, finite AnalysisRegionBase.
End If
            // Check whether the AnalysisRegionBase is empty, infinite, or neither.
            if (theFirstAnalysisRegionBase.IsEmpty)
            {
                // Insert code here for an empty AnalysisRegionBase.
            }
            else if (theFirstAnalysisRegionBase.IsInfinite)
            {
                // Insert code here for an infinite AnalysisRegionBase.
            }
            else
            {
                // Insert code here for a non-empty, finite AnalysisRegionBase.
            }

Платформы

Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

AnalysisRegionBase Класс

AnalysisRegionBase - члены

System.Windows.Ink.AnalysisCore - пространство имен

AnalysisRegionBase.IsInfinite

AnalysisRegionBase.MakeEmpty

AnalysisRegionBase.MakeInfinite