次の方法で共有


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 Network は Windows Live ID に置き換えられました。

適用対象