AnalysisRegion が空の領域を表すかどうかを示すブール値を取得します。
名前空間 : System.Windows.Ink
アセンブリ : IAWinFX (IAWinFX.dll 内)
構文
'宣言
Public ReadOnly Property IsEmpty As Boolean
'使用
Dim instance As AnalysisRegion
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。それ以外の場合は false。
例
次の例では、theFirstAnalysisRegion という名前のAnalysisRegion によって表される領域のエクステントをテストします。
' Check whether the AnalysisRegionBase is empty, infinite, or neither.
If theFirstAnalysisRegion.IsEmpty Then
' Insert code here for an empty AnalysisRegionBase.
ElseIf theFirstAnalysisRegion.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 (theFirstAnalysisRegion.IsEmpty)
{
// Insert code here for an empty AnalysisRegionBase.
}
else if (theFirstAnalysisRegion.IsInfinite)
{
// Insert code here for an infinite AnalysisRegionBase.
}
else
{
// Insert code here for a non-empty, finite AnalysisRegionBase.
}
プラットフォーム
Windows Vista
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0