指定した子の型に対して有効な親を検索します。
名前空間: Microsoft.Windows.Design.Model
アセンブリ: Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)
構文
'宣言
Public Shared Function FindParent ( _
childType As Type, _
gestureData As GestureData _
) As ModelItem
public static ModelItem FindParent(
Type childType,
GestureData gestureData
)
public:
static ModelItem^ FindParent(
Type^ childType,
GestureData^ gestureData
)
static member FindParent :
childType:Type *
gestureData:GestureData -> ModelItem
public static function FindParent(
childType : Type,
gestureData : GestureData
) : ModelItem
パラメーター
- childType
型: System.Type
子にする項目の型。
- gestureData
型: Microsoft.Windows.Design.Interaction.GestureData
検索の開始項目および開始位置の特定に使用できるジェスチャ データ。
戻り値
型: Microsoft.Windows.Design.Model.ModelItem
childType 型の項目を受け入れることができる項目。有効な親が見つからなかった場合は nullnull 参照 (Visual Basic では Nothing)。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
参照
Microsoft.Windows.Design.Model 名前空間