IDispatchImplAttribute 클래스

정의

주의

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

공용 언어 런타임이 COM에 이중 인터페이스 및 dispinterface를 노출할 때 사용하는 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
특성

설명

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

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

생성자

Name Description
IDispatchImplAttribute(IDispatchImplType)
사용되지 않음.

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

IDispatchImplAttribute(Int16)
사용되지 않음.

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

속성

Name Description
TypeId
사용되지 않음.

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

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

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

메서드

Name Description
Equals(Object)
사용되지 않음.

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

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

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

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

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

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

파생 클래스에서 재정의되는 경우 이 인스턴스의 값이 파생 클래스의 기본값인지 여부를 나타냅니다.

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

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

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

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

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

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

(다음에서 상속됨 Object)

명시적 인터페이스 구현

Name Description
_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)

적용 대상

추가 정보