FieldOffsetAttribute(Int32) 생성자

정의

구조체의 오프셋을 FieldOffsetAttribute 사용하여 클래스의 새 인스턴스를 필드의 시작 부분으로 초기화합니다.

public:
 FieldOffsetAttribute(int offset);
public FieldOffsetAttribute(int offset);
new System.Runtime.InteropServices.FieldOffsetAttribute : int -> System.Runtime.InteropServices.FieldOffsetAttribute
Public Sub New (offset As Integer)

매개 변수

offset
Int32

구조체의 시작부터 필드의 시작 부분까지의 오프셋(바이트)입니다.

적용 대상