ProtectedViewWindow.SourcePath 属性

定义

获取在指定的“受保护的视图”窗口中打开的源文件的路径。

public:
 property System::String ^ SourcePath { System::String ^ get(); };
public string SourcePath { get; }
Public ReadOnly Property SourcePath As String

属性值

在指定的“受保护的视图”窗口中打开的源文件的路径。

注解

此为只读属性。

路径不包含结尾字符(例如,“C:\MSOffice”)。 PathSeparator使用 属性添加分隔文件夹和驱动器号的字符。 SourceName使用 对象的 ProtectedViewWindow 返回不带路径的源文件名称。

适用于