Share via


ProtectPathInfo.RelativePath 屬性

適用於版本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
資料夾或檔案的相對路徑。

實作

IProtectPathInfo.RelativePath

請參閱

參考

ProtectPathInfo 類別

Microsoft.WebMatrix.Extensibility 命名空間