System.Runtime.InteropServices.AutomationProxyAttribute Class

Specifies whether the type should be marshaled using the Automation marshaler or a custom proxy and stub.

See Also: AutomationProxyAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Interface | System.AttributeTargets.All, Inherited=false)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class AutomationProxyAttribute : Attribute

Remarks

You can apply this attribute to assemblies, classes, or interfaces.

When applied to a class, it extends to the class interface for that class, if present.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0