Share via


ComObject.IDynamicInterfaceCastable.IsInterfaceImplemented 메서드

정의

이 개체를 지정된 인터페이스 형식으로 캐스팅할 수 있는지 여부를 결정합니다. 이 메서드는 구현 클래스 instance 클래스의 메타데이터에 포함되지 않은 인터페이스 형식으로 캐스팅될 때 호출됩니다.

 virtual bool System.Runtime.InteropServices.IDynamicInterfaceCastable.IsInterfaceImplemented(RuntimeTypeHandle interfaceType, bool throwIfNotImplemented) = System::Runtime::InteropServices::IDynamicInterfaceCastable::IsInterfaceImplemented;
bool IDynamicInterfaceCastable.IsInterfaceImplemented (RuntimeTypeHandle interfaceType, bool throwIfNotImplemented);
abstract member System.Runtime.InteropServices.IDynamicInterfaceCastable.IsInterfaceImplemented : RuntimeTypeHandle * bool -> bool
override this.System.Runtime.InteropServices.IDynamicInterfaceCastable.IsInterfaceImplemented : RuntimeTypeHandle * bool -> bool
Function IsInterfaceImplemented (interfaceType As RuntimeTypeHandle, throwIfNotImplemented As Boolean) As Boolean Implements IDynamicInterfaceCastable.IsInterfaceImplemented

매개 변수

interfaceType
RuntimeTypeHandle

인터페이스 형식입니다.

throwIfNotImplemented
Boolean

true 를 반환하는 대신 예외를 throw하려면 이고 false, false그렇지 않으면 입니다.

반환

이 개체를 지정된 인터페이스로 캐스팅할 수 있으면 true이고, 그러지 않으면 false입니다.

구현

적용 대상