NativeCppClassAttribute クラス
アセンブリ: mscorlib (mscorlib.dll 内)
構文<SerializableAttribute> _ <AttributeUsageAttribute(AttributeTargets.Struct, Inherited:=True)> _ <ComVisibleAttribute(True)> _ Public NotInheritable Class NativeCppClassAttribute Inherits Attribute
[SerializableAttribute] [AttributeUsageAttribute(AttributeTargets.Struct, Inherited=true)] [ComVisibleAttribute(true)] public sealed class NativeCppClassAttribute : Attribute
[SerializableAttribute] [AttributeUsageAttribute(AttributeTargets::Struct, Inherited=true)] [ComVisibleAttribute(true)] public ref class NativeCppClassAttribute sealed : public Attribute
解説コンパイラは、アセンブリの構築時に NativeCppClassAttribute 属性を使用して、型が C または C++ で定義されたアンマネージ型であることを示します。この属性は、相互運用時にインポートされるアンマネージ型を正しく処理するために後で使用されます。
継承階層System.Attribute
System.Runtime.CompilerServices.NativeCppClassAttribute
スレッド セーフ
プラットフォームWindows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照- NativeCppClassAttribute クラスのページへのリンク