FieldOffsetAttribute(Int32) 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
구조체에 있는 필드의 시작 부분까지의 오프셋을 사용하여 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
구조체의 시작 부분에서 필드의 시작 부분까지 바이트 단위로 나타낸 오프셋입니다.