語言

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 個人資料屬性要查詢。

傳回

true 如果該使用者的個人資料中存在該設定檔 strProfile 屬性;否則,則為 false。

備註

此類別已被淘汰,不再支援。 Microsoft Passport Network 被 Windows Live ID 取代。

適用於