WmfPlaceableFileHeader.Checksum 屬性

定義

取得或設定標頭中前十個 WORD 的總和檢查碼 (Checksum) 值。Gets or sets the checksum value for the previous ten WORD s in the header.

public:
 property short Checksum { short get(); void set(short value); };
public short Checksum { get; set; }
member this.Checksum : int16 with get, set
Public Property Checksum As Short

屬性值

標頭中前十個 WORD 的總和檢查碼值。The checksum value for the previous ten WORD s in the header.

備註

此值可用於嘗試偵測中繼檔是否已損毀。This value can be used in an attempt to detect whether the metafile has become corrupted. 總和檢查碼的計算方式是使用 XOR 運算子,將每個 WORD 值聯結至初始值0。The checksum is calculated by joining each WORD value to an initial value of 0 by using the XOR operator.

適用於