Reference2.Path 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取引用文件的路径。 只读。
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
属性值
字符串。 此属性返回引用的路径和文件名(如果可以解析)。 如果无法解析路径,则返回一个空字符串。 有关解析引用的信息,请参阅 Add(String) 。
实现
- 属性
注解
路径不能为 UNC 或 URL。