Szerkesztés

Megosztás a következőn keresztül:


IUnknownDerivedAttribute<T,TImpl> Class

Definition

Important

This API is not CLS-compliant.

Indicates that an interface is a managed representation of an IUnknown-derived interface.

generic <typename T, typename TImpl>
 where T : IIUnknownInterfaceTypepublic ref class IUnknownDerivedAttribute : Attribute, System::Runtime::InteropServices::Marshalling::IIUnknownDerivedDetails
[System.AttributeUsage(System.AttributeTargets.Interface, Inherited=false)]
[System.CLSCompliant(false)]
public class IUnknownDerivedAttribute<T,TImpl> : Attribute, System.Runtime.InteropServices.Marshalling.IIUnknownDerivedDetails where T : IIUnknownInterfaceType
[<System.AttributeUsage(System.AttributeTargets.Interface, Inherited=false)>]
[<System.CLSCompliant(false)>]
type IUnknownDerivedAttribute<'T, 'Impl (requires 'T :> IIUnknownInterfaceType)> = class
    inherit Attribute
    interface IIUnknownDerivedDetails
Public Class IUnknownDerivedAttribute(Of T, TImpl)
Inherits Attribute
Implements IIUnknownDerivedDetails

Type Parameters

T

The type that provides type-level information about the interface.

TImpl

The type to use for calling from managed callers to unmanaged implementations of the interface.

Inheritance
IUnknownDerivedAttribute<T,TImpl>
Attributes
Implements

Constructors

IUnknownDerivedAttribute<T,TImpl>()

Initializes a new instance of the IUnknownDerivedAttribute<T,TImpl> class.

Properties

Iid

Gets the interface ID.

Implementation

Gets the managed type used to project the IUnknown-derived interface.

ManagedVirtualMethodTable

Gets a pointer to the virtual method table to enable unmanaged callers to call a managed implementation of the interface.

TypeId

When implemented in a derived class, gets a unique identifier for this Attribute.

(Inherited from Attribute)

Methods

Equals(Object)

Returns a value that indicates whether this instance is equal to a specified object.

(Inherited from Attribute)
GetHashCode()

Returns the hash code for this instance.

(Inherited from Attribute)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IsDefaultAttribute()

When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.

(Inherited from Attribute)
Match(Object)

When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.

(Inherited from Attribute)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to