Share via


Uri.Password 屬性

定義

取得統一資源識別元 (URI 的密碼元件,) 儲存在此 URI 實例中。

public:
 property Platform::String ^ Password { Platform::String ^ get(); };
winrt::hstring Password();
public string Password { get; }
var string = uri.password;
Public ReadOnly Property Password As String

屬性值

String

Platform::String

winrt::hstring

密碼。

備註

注意

URI主機部分前面的 username:password**@** 主要與檔案傳輸通訊協定 (FTP) URI 相關。 檔案傳輸通訊協定 (FTP) URI 在 Windows 執行階段 中受到有限的支援;請參閱HTMLXAML) (「在背景傳輸資料」。

適用於