NativeCppClassAttribute Constructor

Definition

Initializes a new instance of the NativeCppClassAttribute class.

public:
 NativeCppClassAttribute();
public NativeCppClassAttribute ();
Public Sub New ()

Remarks

Compilers use the NativeCppClassAttribute attribute when building assemblies to indicate that a type is an unmanaged type defined in C or C++. This attribute is used later to correctly handle the unmanaged type when it is imported during interop.

Applies to