Reference2.Path 属性

定义

获取引用文件的路径。 只读。

public:
 property System::String ^ Path { System::String ^ get(); };
public:
 property Platform::String ^ Path { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(8)]
public string Path { [System.Runtime.InteropServices.DispId(8)] get; }
[<System.Runtime.InteropServices.DispId(8)>]
[<get: System.Runtime.InteropServices.DispId(8)>]
member this.Path : string
Public ReadOnly Property Path As String

属性值

String

字符串。 此属性返回引用的路径和文件名(如果可以解析)。 如果无法解析路径,则返回一个空字符串。 有关解析引用的信息,请参阅 Add(String)

实现

属性

注解

路径不能为 UNC 或 URL。

适用于