FieldDefinition.GetOffset 方法

定义

返回字段布局偏移量;如果字段布局偏移量不可用,则返回 -1。

public:
 int GetOffset();
public int GetOffset();
member this.GetOffset : unit -> int
Public Function GetOffset () As Integer

返回

字段定义偏移量;如果字段定义偏移量不可用,则 -1。

适用于