PassportIdentity.HasProfile(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
顯示該使用者的個人資料中是否存在某個設定檔屬性。 這個類別已被取代。
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 取代。