适用于版本2
获取文件夹或文件的相对路径。
命名空间: Microsoft.WebMatrix.Extensibility
程序集: Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)
语法
声明
Public Property RelativePath As String
Get
Private Set
用法
Dim instance As ProtectPathInfo
Dim value As String
value = instance.RelativePath
public string RelativePath { get; private set; }
public:
virtual property String^ RelativePath {
String^ get () sealed;
private: void set (String^ value) sealed;
}
abstract RelativePath : string with get, private set
override RelativePath : string with get, private set
final function get RelativePath () : String
private final function set RelativePath (value : String)
属性值
类型:System.String
文件夹或文件的相对路径。