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

FixedBufferAttribute クラス

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

指定したプリミティブ型要素一定数だけ格納しているものとしてフィールド処理する必要があることを示します。このクラス継承できません。

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

<AttributeUsageAttribute(AttributeTargets.Field, Inherited:=False)> _
Public NotInheritable Class
 FixedBufferAttribute
    Inherits Attribute
Dim instance As FixedBufferAttribute
[AttributeUsageAttribute(AttributeTargets.Field, Inherited=false)]
 
public sealed class FixedBufferAttribute :
 Attribute
[AttributeUsageAttribute(AttributeTargets::Field, Inherited=false)]
 
public ref class FixedBufferAttribute sealed
 : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Field, Inherited=false)
 */ 
public final class FixedBufferAttribute extends
 Attribute
AttributeUsageAttribute(AttributeTargets.Field, Inherited=false)
 
public final class FixedBufferAttribute extends
 Attribute
解説解説

フィールド固定長インライン配列として処理する必要があることを示すため、FixedBufferAttribute 属性フィールド適用します。属性適用するフィールドの型は、示され要素数を格納できるサイズであることが必要です。

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



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

辞書ショートカット

すべての辞書の索引

「FixedBufferAttribute クラス」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS