DependencyObjectType.FromSystemType(Type) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
DependencyObjectType 지정된 CLR(시스템) 형식을 나타내는 값을 반환합니다.
public:
static System::Windows::DependencyObjectType ^ FromSystemType(Type ^ systemType);
public static System.Windows.DependencyObjectType FromSystemType(Type systemType);
static member FromSystemType : Type -> System.Windows.DependencyObjectType
Public Shared Function FromSystemType (systemType As Type) As DependencyObjectType
매개 변수
- systemType
- Type
변환할 시스템(CLR) 형식입니다.
반환
시스템(CLR) 형식을 나타내는 A DependencyObjectType 입니다.
예제
다음 예제에서는 클래스의 형식에 따라 만드는 DependencyObjectType 호출을 호출 FromSystemType 합니다Window.
DependencyObjectType dt =
DependencyObjectType.FromSystemType(typeof(Window));
Dim dt As DependencyObjectType = DependencyObjectType.FromSystemType(GetType(Window))
설명
각각 DependencyObject 은 DependencyObjectType 반환 DependencyObjectType하는 속성을 유지 관리하지만, 이를 위해서는 특정 DependencyObject 인스턴스가 필요합니다. 인스턴스가 아직 없어 필요한 경우 이 정적 유틸리티 메서드를 DependencyObject 사용할 수 있습니다 DependencyObjectType.