このオブジェクトのビジュアル子のカウントを取得します。
名前空間: Microsoft.Windows.Design.Interaction
アセンブリ: Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)
構文
'宣言
Protected Overrides ReadOnly Property VisualChildrenCount As Integer
Get
protected override int VisualChildrenCount { get; }
protected:
virtual property int VisualChildrenCount {
int get () override;
}
abstract VisualChildrenCount : int
override VisualChildrenCount : int
override function get VisualChildrenCount () : int
プロパティ値
型: System.Int32
このオブジェクトのビジュアル子の数を表す整数値。
解説
既定では、Child が nullnull 参照 (Visual Basic では Nothing) の場合、VisualChildrenCount プロパティは 0 を返します。それ以外の場合は 3 を返します。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
参照
Microsoft.Windows.Design.Interaction 名前空間