PasswordCredential.Password 屬性

定義

取得或設定認證的密碼字串。 此值不得為 Null 或空白,否則會擲回例外狀況。 您必須先呼叫 RetrievePassword ,才能設定此屬性的初始值。

public:
 property Platform::String ^ Password { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Password();

void Password(winrt::hstring password);
public string Password { get; set; }
var string = passwordCredential.password;
passwordCredential.password = string;
Public Property Password As String

屬性值

String

Platform::String

winrt::hstring

認證的密碼字串。

適用於