TypeRef.IsAssignableFrom(TypeRef) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 TypeRef가 나타내는 형식을 이 instance 나타내는 형식에 할당할 수 있는지 확인합니다.
public bool IsAssignableFrom(Microsoft.VisualStudio.Composition.Reflection.TypeRef other);
member this.IsAssignableFrom : Microsoft.VisualStudio.Composition.Reflection.TypeRef -> bool
Public Function IsAssignableFrom (other As TypeRef) As Boolean
매개 변수
- other
- TypeRef
비교할 TypeRef
반환
지정된 TypeRef를 이 instance 할당할 수 있으면 true, 그렇지 않으면 false입니다.
설명
할당 가능성 검사 지정된 TypeRef의 모든 기본 형식 및 인터페이스를 트래버스하여 이 instance 동일한 경우 검사 수행합니다. 실패할 경우 CLR은 어셈블리 로드를 트리거하는 할당 가능성을 검사 합니다.