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 設定檔屬性。
傳回
如果設定檔屬性 strProfile 存在於這個使用者的設定檔,則為 true,否則為 false。
備註
這個類別已被取代,不再受到支援。 Microsoft Passport 網路已由 Windows Live ID 取代。