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

属性值

String

校验和文件的路径。The path to the checksum file.

示例

下面的代码示例演示属性的设置 FileNameThe following code example shows the setting of the FileName property. 此代码示例是为类提供的更大示例的一部分 CodeChecksumPragmaThis 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".

适用于