Edit

Share via


CodeChecksumPragma.ChecksumData Property

Definition

Gets or sets the value of the data for the checksum calculation.

public:
 property cli::array <System::Byte> ^ ChecksumData { cli::array <System::Byte> ^ get(); void set(cli::array <System::Byte> ^ value); };
public byte[] ChecksumData { get; set; }
member this.ChecksumData : byte[] with get, set
Public Property ChecksumData As Byte()

Property Value

Byte[]

A byte array that contains the data for the checksum calculation.

Examples

The following code example shows the setting of the ChecksumData property. This code example is part of a larger example provided for the CodeChecksumPragma class

pragma1.ChecksumData = new byte[] { 0xAA, 0xAA };
pragma1.ChecksumData = New Byte() {&HAA, &HAA}

Remarks

The ChecksumData property contains data from the target file specified by the FileName property.

Applies to