次の方法で共有


FieldOffsetAttribute コンストラクタ

フィールドの先頭に対する構造体でのオフセットを指定して、 FieldOffsetAttribute クラスの新しいインスタンスを初期化します。

Public Sub New( _
   ByVal offset As Integer _)
[C#]
public FieldOffsetAttribute(
   intoffset);
[C++]
public: FieldOffsetAttribute(
   intoffset);
[JScript]
public function FieldOffsetAttribute(
   offset : int);

パラメータ

  • offset
    構造体の先頭からフィールドの先頭までのバイト単位のオフセット。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, Common Language Infrastructure (CLI) Standard

参照

FieldOffsetAttribute クラス | FieldOffsetAttribute メンバ | System.Runtime.InteropServices 名前空間