ModelParent.FindParent 메서드 (Type, GestureData)
지정된 자식 형식에 적합한 부모를 찾습니다.
네임스페이스: 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 네임스페이스