NativeCppClassAttribute クラスとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > NativeCppClassAttribute クラスの意味・解説 

NativeCppClassAttribute クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

型がアンマネージ型であることを示すアセンブリメタデータ適用します。このクラス継承できません。

名前空間: System.Runtime.CompilerServices
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

<SerializableAttribute> _
<AttributeUsageAttribute(AttributeTargets.Struct, Inherited:=True)> _
<ComVisibleAttribute(True)> _
Public NotInheritable Class
 NativeCppClassAttribute
    Inherits Attribute
Dim instance As NativeCppClassAttribute
[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
/** @attribute SerializableAttribute() */ 
/** @attribute AttributeUsageAttribute(AttributeTargets.Struct, Inherited=true)
 */ 
/** @attribute ComVisibleAttribute(true) */ 
public final class NativeCppClassAttribute
 extends Attribute
SerializableAttribute 
AttributeUsageAttribute(AttributeTargets.Struct, Inherited=true)
 
ComVisibleAttribute(true) 
public final class NativeCppClassAttribute
 extends Attribute
解説解説

コンパイラは、アセンブリ構築時に NativeCppClassAttribute 属性使用して、型が C または C++定義されたアンマネージ型であることを示します。この属性は、相互運用時にインポートされるアンマネージ型を正しく処理するために後で使用されます。

継承階層継承階層
System.Object
   System.Attribute
    System.Runtime.CompilerServices.NativeCppClassAttribute
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
NativeCppClassAttribute メンバ
System.Runtime.CompilerServices 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からNativeCppClassAttribute クラスを検索した結果を表示しています。
Weblioに収録されているすべての辞書からNativeCppClassAttribute クラスを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からNativeCppClassAttribute クラス を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「NativeCppClassAttribute クラス」の関連用語

NativeCppClassAttribute クラスのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



NativeCppClassAttribute クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS