ProtectedViewWindow.SourcePath 属性

定义

获取指定受保护视图窗口的源文件的路径。

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

属性值

指定受保护视图窗口的源文件的路径。

注解

只读 String 即字符串类型。 路径不包含结尾字符(例如,“C:\MSOffice”)。 Microsoft.Office.Interop.Word.ProtectedViewWindow.PathSeparator使用 属性添加分隔文件夹和驱动器号的字符。 SourceName使用 属性可返回不带路径的文件名。

适用于