共用方式為


PassportIdentity.HasProfile(String) 方法

定義

表示指定的設定檔屬性是否存在於這個使用者的設定檔。 這個類別已被取代。

public:
 bool HasProfile(System::String ^ strProfile);
public bool HasProfile(string strProfile);
member this.HasProfile : string -> bool
Public Function HasProfile (strProfile As String) As Boolean

參數

strProfile
String

要查詢的 Passport 設定檔屬性。

傳回

如果設定檔屬性 strProfile 存在於這個使用者的設定檔,則為 true,否則為 false

備註

這個類別已被取代,不再受到支援。 Microsoft Passport 網路已由 Windows Live ID 取代。

適用於