IDispatchImplAttribute 클래스

정의

주의

This attribute is deprecated and will be removed in a future version.

이중 인터페이스 및 dispinterface를 COM에 노출 시킬 때 공용 언어 런타임에서 사용할 IDispatch 구현을 나타냅니다.

public ref class IDispatchImplAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, Inherited=false)]
public sealed class IDispatchImplAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, Inherited=false)]
[System.Obsolete("This attribute is deprecated and will be removed in a future version.", false)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class IDispatchImplAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, Inherited=false)>]
type IDispatchImplAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, Inherited=false)>]
[<System.Obsolete("This attribute is deprecated and will be removed in a future version.", false)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type IDispatchImplAttribute = class
    inherit Attribute
Public NotInheritable Class IDispatchImplAttribute
Inherits Attribute
상속
IDispatchImplAttribute
특성

설명

이 특성은 클래스 또는 어셈블리에 적용할 수 있습니다.

명시적 구현에 필요한 경우에이 특성을 설정 해야 합니다. 특성 설정 하면 CompatibleImplIDispatch COM의 개체에 대 한 형식 정보를 전달 하 여 구현을 CreateStdDispatch API. 특성 설정 하면 InternalImpl, IDispatch 공용 언어 런타임에 의해 구현을 제공 합니다. 특성을 설정 SystemDefinedImpl 런타임에서 적절 한 구현을 선택할 수 있습니다. 어셈블리에 특성을 사용 하면 특성 어셈블리 내에 정의 된 모든 클래스에 적용 됩니다. 특성에서 개별 클래스를 사용 하는 경우 해당 클래스에 의해 노출 된 인터페이스에만 적용 됩니다 특성과 모든 어셈블리 수준 설정을 재정의 합니다.

생성자

IDispatchImplAttribute(IDispatchImplType)
사용되지 않음.

지정된 IDispatchImplType 값을 사용하여 IDispatchImplAttribute 클래스의 새 인스턴스를 초기화합니다.

IDispatchImplAttribute(Int16)
사용되지 않음.

지정된 IDispatchImplType 값을 사용하여 IDispatchImplAttribute 클래스의 새 인스턴스를 초기화합니다.

속성

TypeId
사용되지 않음.

파생 클래스에서 구현된 경우 이 Attribute에 대한 고유 식별자를 가져옵니다.

(다음에서 상속됨 Attribute)
Value
사용되지 않음.

클래스에서 사용하는 IDispatchImplType 값을 가져옵니다.

메서드

Equals(Object)
사용되지 않음.

이 인스턴스가 지정된 개체와 같은지를 나타내는 값을 반환합니다.

(다음에서 상속됨 Attribute)
GetHashCode()
사용되지 않음.

이 인스턴스의 해시 코드를 반환합니다.

(다음에서 상속됨 Attribute)
GetType()
사용되지 않음.

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
IsDefaultAttribute()
사용되지 않음.

파생 클래스에서 재정의된 경우 이 인스턴스 값이 파생 클래스에 대한 기본값인지 여부를 표시합니다.

(다음에서 상속됨 Attribute)
Match(Object)
사용되지 않음.

파생 클래스에서 재정의된 경우 이 인스턴스가 지정된 개체와 같은지 여부를 나타내는 값을 반환합니다.

(다음에서 상속됨 Attribute)
MemberwiseClone()
사용되지 않음.

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()
사용되지 않음.

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

명시적 인터페이스 구현

_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)
사용되지 않음.

이름 집합을 해당하는 디스패치 식별자 집합에 매핑합니다.

(다음에서 상속됨 Attribute)
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)
사용되지 않음.

인터페이스의 형식 정보를 가져오는 데 사용할 수 있는 개체의 형식 정보를 검색합니다.

(다음에서 상속됨 Attribute)
_Attribute.GetTypeInfoCount(UInt32)
사용되지 않음.

개체에서 제공하는 형식 정보 인터페이스의 수를 검색합니다(0 또는 1).

(다음에서 상속됨 Attribute)
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)
사용되지 않음.

개체에서 노출하는 메서드와 속성에 대한 액세스를 제공합니다.

(다음에서 상속됨 Attribute)

적용 대상

추가 정보