CodeChecksumPragma.FileName 屬性

定義

取得或設定總和檢查碼檔案的路徑。Gets or sets the path to the checksum file.

public:
 property System::String ^ FileName { System::String ^ get(); void set(System::String ^ value); };
public string FileName { get; set; }
member this.FileName : string with get, set
Public Property FileName As String

屬性值

總和檢查碼檔案的路徑。The path to the checksum file.

範例

下列程式碼範例顯示FileName屬性的設定。The following code example shows the setting of the FileName property. 這個程式碼範例是針對CodeChecksumPragma類別提供之較大範例的一部分This code example is part of a larger example provided for the CodeChecksumPragma class

pragma1.FileName = "c:\\temp\\test\\OuterLinePragma.txt";
pragma1.FileName = "c:\temp\test\OuterLinePragma.txt"

備註

FileName屬性值的範例為 "C:\Temp\Test\OuterLinePragma.txt"。An example of a FileName property value is "C:\Temp\Test\OuterLinePragma.txt".

適用於