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

구조체의 시작 부분에서 필드의 시작 부분까지 바이트 단위로 나타낸 오프셋입니다.

적용 대상