NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

InterfaceTypeAttribute Class

Controls how a managed interface is exposed to COM clients (IDispatch derived or IUnknown derived).

This attribute indicates whether a managed interface is Dual, IDispatch or IUnknown based when exposed to COM. If the attrigute is missing the interface is exposed to COM as a Dual interface.

Object
   Attribute
      InterfaceTypeAttribute

[Visual Basic]
Public Class InterfaceTypeAttribute
   Inherits Attribute
[C#]
public class InterfaceTypeAttribute : Attribute
[C++]
public __gc class InterfaceTypeAttribute : public Attribute
[JScript]
public class InterfaceTypeAttribute extends Attribute

Remarks

This attribute has no effect on the managed view of the interface. See Interop metadata spec for more details on this attribute class.

Can be used to attribute interfaces.

Requirements

Namespace: System.Runtime.InteropServices

Assembly: mscorlib.dll

See Also

InterfaceTypeAttribute Members | System.Runtime.InteropServices Namespace | ComInterfaceType