ProtectedViewWindow.SourcePath 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取指定受保护视图窗口的源文件的路径。
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使用 属性可返回不带路径的文件名。